-
Notifications
You must be signed in to change notification settings - Fork 783
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
common: Refactor and update common.getHardforkByBlockNumber to address post merge hfs #2313
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
a43d580
common: Refactor and update the hardfork cal to address post merge hfs
g11tech 8496d71
make strick check optional for post merge hardforks
g11tech 750c37c
add tests for post merge hardforks using sepolia
g11tech b4a96ce
simplify getHardforkByBlockNumber
g11tech 1fcb0d0
remove duplicate hf
g11tech 167d546
clarify comment
g11tech ee628f7
add post merge hf
g11tech 0e6827f
further simplify the fn and add test to enhance coverage
g11tech 42e5168
update comments
g11tech 03a3824
remove hash to add it as a separate pr to not pollute this one
g11tech c2a67ab
fix typo
g11tech da9761a
comment improvement
g11tech 699439c
undo mainnet json changes
g11tech 2de76cf
simplify dup ttd check
g11tech 1cbeb43
fix spec
g11tech 3c5f4b5
fix typo
g11tech c8f87a5
fix typo
g11tech acc111c
improve clarity
g11tech 6dbb644
simpilfy futher based on acolytec3s logic
g11tech 8b7fbca
fix some more validations
g11tech 1927409
remove extra if
g11tech 8206fbb
improve wording
g11tech a2e9ab2
move spec, add test for merge hf with block num
g11tech 827c2e3
relocate test
g11tech b94f73d
relocate test
g11tech cbe855b
lint
g11tech d07f8b3
add merge block numbers
g11tech 30a8394
add merge forkhash
g11tech 55e0380
handle no hardfork found case
g11tech 1cf6ed1
Fix nits
acolytec3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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.
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.
@acolytec3 see if these comments help making sense of the situation
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.
as terminal as config doesn't have that info
-- I don't think this is true any more. You updated the sepolia config to have a block number for the merge.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.
yes but for this test case i made block null, see L209, i have made this test to be independent of what we specify config in json