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: use 16-bit random value to compute validator indices #7311

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Dec 17, 2024

Alternative to #7301 as I found it to hard to review the PR against the spec. There are too many branches and variables names changed in the electra implementation of the spec.

Spec ref: ethereum/consensus-specs#4039

Copy link

codecov bot commented Dec 17, 2024

Codecov Report

Attention: Patch coverage is 17.46032% with 52 lines in your changes missing coverage. Please review.

Project coverage is 48.61%. Comparing base (031214e) to head (8d9b6a8).
Report is 1 commits behind head on devnet-5.

Additional details and impacted files
@@             Coverage Diff              @@
##           devnet-5    #7311      +/-   ##
============================================
- Coverage     48.65%   48.61%   -0.04%     
============================================
  Files           603      603              
  Lines         40427    40449      +22     
  Branches       2065     2065              
============================================
- Hits          19670    19666       -4     
- Misses        20719    20745      +26     
  Partials         38       38              

Copy link
Contributor

@ensi321 ensi321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Passed all related spec tests 👍

@nflaig nflaig marked this pull request as ready for review December 18, 2024 21:27
@nflaig nflaig requested a review from a team as a code owner December 18, 2024 21:27
@ensi321 ensi321 merged commit cd7b1b4 into devnet-5 Dec 18, 2024
14 of 17 checks passed
@ensi321 ensi321 deleted the nflaig/16-bit-filter branch December 18, 2024 21:32
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