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

feat(mev-rs): Refactor and Bench Validator Registry State Extension #200

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

refcell
Copy link

@refcell refcell commented Nov 11, 2023

Description

Refactors the validator registry state extension and benchmarks distributive vs grouped iterator map construction.

Follow-on work should be done to explore the usage of bijective mappings and more high level architectural enhancements.

@ralexstokes
Copy link
Owner

nice! would like to see numbers from the benchmark

the comment about "loading more efficiently" refers to grabbing validator updates from the beacon chain however, and not about the internals of the validator registry here

right now, it just grabs the entire val set on each update, when it could be far more clever around just grabbing updates to those validators that had any change in their state across an epoch (for example)

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