-
Notifications
You must be signed in to change notification settings - Fork 996
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
Various spec fixes for EIP-7251 #3657
Conversation
f0eb3b9
to
36b0c50
Compare
36b0c50
to
8cf2fd5
Compare
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.
I guess the bugs were primarily caused by that the previous pre-fork was Bellatrix.
This fix looks good to me! (though, we need #3656 to verify it 😄)
# If empty, will initialize a chain that has not yet gone through the Merge transition | ||
state.latest_execution_payload_header = execution_payload_header | ||
|
||
return state |
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.
@hwwhww are we still merging these? state bumps can be computed from the upgrade_to_* function
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.
they do serve distinct purposes
for testing, we will usually start at genesis, whereas at the fork boundary there is likely state we want to bring forward/translate from the old fork to the new
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.
Spec fixes found while working on #3656.
Will merge here, and rebase that to just have test fixes.