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

[Reward + Gov] Explore if we can spread reward calculation and governance calculation, instead of calculating everything during the epoch transition #464

Open
satran004 opened this issue Mar 4, 2025 · 0 comments

Comments

@satran004
Copy link
Member

Currently, both reward calculation and governance state calculation occur during the epoch transition.

For example, to calculate rewards/adapots for epoch e, we start fetching the required data and trigger the calculation during the epoch transition from epoch e-1 to e.

However, since most of the data needed for the adapot calculation of epoch e is already available during epoch e-1, we should explore if we can break the calculation into steps. This would minimize the calculation during the epoch transition (from e-1 to e) and allow the rewards and adapot details to be available as soon as possible, rather than causing a delay (currently around 15-20 minutes).

The same should be evaluated for governance state calculation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant