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

core: fix genesis to block to use empty requests hash to fix Hive tests #13436

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

taratorio
Copy link
Member

erigon init genesis.json was causing a genesis block to be created with the wrong hash due to using inccorrect RequestsHash for blocks before Prague

this caused the Hive tests to fail with:

parent's total difficulty not found with hash 6549118a1de2c28b204c671688e0aa4f6b522e72bf3a4a3f76cc8def0a7ecc8f and height 0: <nil>

when trying to insert blocks, causing a considerable amount of tests in rpc-compat to fail, hence making the CI red

@taratorio taratorio enabled auto-merge (squash) January 14, 2025 16:50
@taratorio taratorio merged commit 53affec into main Jan 14, 2025
14 checks passed
@taratorio taratorio deleted the fix-hive-genesis-to-block branch January 14, 2025 17:13
@yperbasis yperbasis added the pectra The Prague/Electra protocol upgrade label Jan 15, 2025
@yperbasis
Copy link
Member

@taratorio Thank you! Please back-port it to release/2.61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pectra The Prague/Electra protocol upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants