-
-
Notifications
You must be signed in to change notification settings - Fork 311
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: electra fork transition spec tests #6769
Conversation
4e650ae
to
31978f4
Compare
exitEpochs.push(currentEpochPre); | ||
} | ||
stateElectraView.earliestExitEpoch = Math.max(...exitEpochs) + 1; | ||
stateElectraView.consolidationBalanceToConsume = BigInt(0); |
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.
is this line needed if its set in L95?
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.
is this line needed if its set in L95?
Current implementation of upgradeStateToElectra()
is just a hacky function solely for devnet 0 and related spec tests.
Eventually we will need to replace upgradeStateToElectra()
with upgradeStateToElectraOriginal()
. I think we can clean up and fix small details at that time
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
* fix: electra fork transition * fix: merge issue * chore: remove unwanted change
🎉 This PR is included in v1.22.0 🎉 |
Motivation
Fix electra fork transition spec tests
Description
Follow https://github.com/ethereum/consensus-specs/blob/dev/specs/electra/fork.md