-
Notifications
You must be signed in to change notification settings - Fork 1k
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 Capella genesis testing tool #2940
Conversation
…tate_from_eth1` helper
Thanks, this indeed fixes the problems with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally looks good!
left some feedback
specs/capella/beacon-chain.md
Outdated
state.next_sync_committee = get_next_sync_committee(state) | ||
|
||
# Initialize the execution payload header | ||
# If empty, will initialize a chain that has not yet gone through the Merge transition |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is an interesting point.... is there any value in testing a capella net pre-merge?
I think its an open question but given that we are starting this beacon chain at cappella, it feels like testing a pre-merge state is something that would never hit in a public-facing testnet or mainnet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed. I'd remove this comment.
create_genesis_state
: should have updatedprevious_version
andcurrent_version
initialize_beacon_state_from_eth1