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 EL block hash computation for Deneb #3829

Merged
merged 2 commits into from
Jul 5, 2024
Merged

Conversation

etan-status
Copy link
Contributor

The parent beacon block hash was incorrectly set to zero in #3778. Passing the state to the computation function allows correct hash computation.

The parent beacon block hash was incorrectly set to zero in ethereum#3778.
Passing the state to the computation function allows correct hash
computation.
Copy link
Member

@jtraglia jtraglia left a comment

Choose a reason for hiding this comment

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

Ah, that was my mistake. Thank you for fixing it! This is much better.

etan-status added a commit to status-im/nimbus-eth2 that referenced this pull request Jul 3, 2024
We currently don't have an easy way to test EL block hash computation.
As the EL block hash in consensus-spec-tests is computed correctly,
update the test runners that load block from test files to also verify
the EL block hash. This increases missing test coverage.

Requires ethereum/consensus-specs#3829
Copy link
Contributor

@hwwhww hwwhww left a comment

Choose a reason for hiding this comment

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

thanks!

@hwwhww hwwhww merged commit 9be0529 into ethereum:dev Jul 5, 2024
26 checks passed
@etan-status etan-status deleted the df-elhash branch July 5, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants