Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass curEpochNo instead of curSlotNo to all the rules that don't need SlotNo #4692

Open
lehins opened this issue Oct 15, 2024 · 0 comments
Open
Labels
💳 technical-debt Issues related to technical debt we introduced performance

Comments

@lehins
Copy link
Collaborator

lehins commented Oct 15, 2024

Rules like POOL do not really care about the current slot number, but instead they convert it into the current epoch number. In order to make it clearer and more efficient it would make more sense to convert the slot number to an epoch number in a top level rule like LEDGERS and pass it down through the environment.

@lehins lehins added 💳 technical-debt Issues related to technical debt we introduced performance labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💳 technical-debt Issues related to technical debt we introduced performance
Projects
None yet
Development

No branches or pull requests

1 participant