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: errors in compute_proposer_index #503

Merged
merged 7 commits into from
Dec 11, 2023
Merged

Conversation

MegaRedHand
Copy link
Collaborator

This fixes two different bugs:

  • we were overwriting i with the value of compute_shuffled_index (be1f9ca)
  • we were using uint_to_bytes4 instead of uint_to_bytes8 (709dc94)

Also some refactors: be1f9ca...f20b580

This makes all tests in the random runner pass 🚀

@MegaRedHand MegaRedHand requested a review from a team as a code owner December 6, 2023 16:40
"randomized_12",
"randomized_13",
"randomized_14",
"randomized_15"
Copy link
Collaborator

Choose a reason for hiding this comment

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

🎉

@MegaRedHand MegaRedHand merged commit 39f9753 into main Dec 11, 2023
9 checks passed
@MegaRedHand MegaRedHand deleted the fix-invalid-proposer-index branch December 11, 2023 17:15
h3lio5 pushed a commit to h3lio5/lambda_ethereum_consensus that referenced this pull request Jan 5, 2024
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