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

genesis: fix holesky genesis state #3074

Merged
merged 2 commits into from
Sep 29, 2023
Merged

genesis: fix holesky genesis state #3074

merged 2 commits into from
Sep 29, 2023

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Sep 29, 2023

as also noted by a discord user (Sea Monkey) , the client wasn't working on --network holesky with state trie error of not finding stateroot on execution of block 1.

on debugging realized that the genesis state and the expected stateroot doesn't match, on further inspecton and debugging saw beacon contract was missing from genesis.

this PR adds the same as well as modify genesis spec to test expected stateroots of all known networks

tested with lodestar for holesky, seems to sync blocks now

@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Merging #3074 (33a0228) into master (69d9f25) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 88.78% <ø> (ø)
blockchain 92.61% <ø> (ø)
client 87.65% <ø> (-0.05%) ⬇️
common 98.19% <100.00%> (+<0.01%) ⬆️
ethash ∅ <ø> (∅)
evm 71.87% <ø> (ø)
rlp ?
statemanager 90.23% <ø> (ø)
trie 90.35% <ø> (+0.27%) ⬆️
tx 96.36% <ø> (ø)
util 86.97% <ø> (ø)
vm 76.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Contributor

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

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

LGTM!

@g11tech g11tech merged commit 95d4439 into master Sep 29, 2023
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.

None yet

2 participants