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

fix: set eth upgrades in backwards compatible way #667

Merged
merged 5 commits into from
Oct 7, 2024

Conversation

darioush
Copy link
Collaborator

@darioush darioush commented Oct 2, 2024

Why this should be merged

Current code does not function for mainnet/fuji.
When running a node with those chain IDs, the existing chain config will not have berlin/london & shanghai.
Therefore, we should apply the SetEthUpgrade anytime we unmarshal the config, including in the genesis,
prior to checking for compatibility.

How this works

As explained.

How this was tested

[x] Added UT
[x] Tested by using database from running node, then continuing with this version (fuji)

@darioush darioush marked this pull request as ready for review October 3, 2024 00:24
@darioush darioush requested review from ceyonur and a team as code owners October 3, 2024 00:24
@darioush darioush enabled auto-merge (squash) October 7, 2024 16:57
@darioush darioush merged commit 7242ae2 into master Oct 7, 2024
8 checks passed
@darioush darioush deleted the fix-setting-eth-upgrades branch October 7, 2024 16:57
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