-
Notifications
You must be signed in to change notification settings - Fork 743
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
Make modified helpers in electra fork aware #5698
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pawanjay176
added
ready-for-review
The code is ready for review
electra
Required for the Electra/Prague fork
v5.2.0
Q2 2024
and removed
work-in-progress
PR is a work-in-progress
labels
May 3, 2024
michaelsproul
added a commit
that referenced
this pull request
May 3, 2024
Squashed commit of the following: commit 64440c4 Author: Pawan Dhananjay <pawandhananjay@gmail.com> Date: Thu May 2 17:42:15 2024 -0700 Make more functions fork aware commit 40397fb Author: Pawan Dhananjay <pawandhananjay@gmail.com> Date: Thu May 2 17:14:41 2024 -0700 Make modified helpers in electra fork aware
Merged
jimmygchen
added
the
consensus
An issue/PR that touches consensus code, such as state_processing or block verification.
label
May 3, 2024
jimmygchen
approved these changes
May 3, 2024
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.
LGTM. Confirmed that existing pre-electra logic unchanged.
michaelsproul
approved these changes
May 3, 2024
jimmygchen
added
ready-for-merge
This PR is ready to merge.
and removed
ready-for-review
The code is ready for review
labels
May 3, 2024
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 1af3f0f |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
consensus
An issue/PR that touches consensus code, such as state_processing or block verification.
electra
Required for the Electra/Prague fork
ready-for-merge
This PR is ready to merge.
v5.2.0
Q2 2024
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue Addressed
N/A
Proposed Changes
In #5653 , we modified a bunch of functions for electra without making them fork aware.
This PR aims to make the functions that the spec marks as "Modified in electra" fork aware.
Additional info
I intend to create pre and post electra versions for existing functions that are modified in the electra spec even if the logic doesn't change to make sure we don't shoot ourself in the foot in cases like these in the future.