Skip to content

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

Open
refcell wants to merge 1 commit intoralexstokes:mainfrom
refcell:refcell/validator-registry-bench
Open

feat(mev-rs): Refactor and Bench Validator Registry State Extension#200
refcell wants to merge 1 commit intoralexstokes:mainfrom
refcell:refcell/validator-registry-bench

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