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

Added electra validator index caching #8380

Closed

Conversation

rolfyone
Copy link
Contributor

Added performance test

Altered some tests as we don't really want any of this functionality in deneb. It's gated currently on a state identifying as an electra state. The new performance test goes through unstable lookups only, so its good to compare against the ValidatorIndexCache which is the pre-electra implementation (and finalized generally)

This may end up being not required, depending on some outstanding consensus spec changes. It should be noted cache misses in the non final range with 400k validators is a lot slower than it would be if the non final range wasn't the entire validator set.

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Added performance test

Altered some tests as we don't really want any of this functionality in deneb.
It's gated currently on a state identifying as an electra state.
The new performance test goes through unstable lookups only, so its good to compare against the ValidatorIndexCache which is the pre-electra implementation (and finalized generally)

This may end up being not required, depending on some outstanding consensus spec changes.
It should be noted cache misses in the non final range with 400k validators is a lot slower than it would be if the non final range wasn't the entire validator set.

Signed-off-by: Paul Harris <[email protected]>
@rolfyone rolfyone added the DO NOT MERGE Not ready to merge label Jul 23, 2024
@rolfyone rolfyone marked this pull request as draft July 25, 2024 23:39
@rolfyone
Copy link
Contributor Author

rolfyone commented Oct 8, 2024

will no longer be required.

@rolfyone rolfyone closed this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO NOT MERGE Not ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant