Skip to content
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

params: add BerlinBlock, LondonBlock, ShanghaiTime #659

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Conversation

darioush
Copy link
Collaborator

@darioush darioush commented Sep 23, 2024

Why this should be merged

Adds back BerlinBlock, LondonBlock, ShanghaiTime upgrades from upstream.
This is towards using more upstream packages and activating the desired behaviors via setting the Eth upgrade, instead of directly referencing the Avalanche upgrade names from predominantly upstream code.

This PR does not include modifying any of the Avalanche upgrade to the Eth upgrade, it only prepares the appropriate fields in the chain config.

How this works

In Avalanche AP2 & AP3 upgrades were enabled by timestamp however the corresponding Eth upgrade (Berlin, London) enable via block number. Since these upgrades already occurred, we can use their block numbers for canonical chains and use 0 in tests.

How this was tested

CI. (Note there is no behavioral changes for execution in this PR)

@darioush darioush marked this pull request as ready for review September 23, 2024 23:05
@darioush darioush requested review from ceyonur and a team as code owners September 23, 2024 23:05
@darioush darioush requested a review from ARR4N September 23, 2024 23:05
params/config_extra.go Show resolved Hide resolved
params/config_extra.go Show resolved Hide resolved
params/config_extra.go Show resolved Hide resolved
params/config_extra.go Show resolved Hide resolved
@darioush darioush merged commit 419bb18 into master Sep 25, 2024
8 checks passed
@darioush darioush deleted the add-eth-forks branch September 25, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants