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

fix: avoid reprocessing of validator activity #190

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

pk910
Copy link
Member

@pk910 pk910 commented Dec 11, 2024

Avoid re-processing of the validator voting activity for each block.
This lead to a quite high processing overlay for instances with large validator sets (holesky).

With this PR, the validator activity is only processed twice per block, instead of for every voting aggregation.
It still needs to be twice, because each block can contain votes from the current and last epoch, so the the activity needs to be tracked when aggregation votes for the current and last epoch.

@pk910 pk910 merged commit 45e50b0 into master Dec 11, 2024
1 check passed
@pk910 pk910 deleted the pk910/avoid-activity-reprocessing branch December 11, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants