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

core/vm, params: ensure order of forks, prevent overflow (#29023) #293

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

trianglesphere
Copy link
Contributor

Description

This PR fixes an overflow which can could happen if inconsistent blockchain rules were configured. Additionally, it tries to prevent such inconsistencies from occurring by making sure that merge cannot be enabled unless previous fork(s) are also enabled.

Additional context

Cherry-picked from ethereum/go-ethereum#29023

@trianglesphere trianglesphere requested a review from a team as a code owner April 8, 2024 18:19
@trianglesphere trianglesphere requested review from tynes and sebastianst and removed request for a team and tynes April 8, 2024 18:19
This PR fixes an overflow which can could happen if inconsistent blockchain rules were configured. Additionally, it tries to prevent such inconsistencies from occurring by making sure that merge cannot be enabled unless previous fork(s) are also enabled.
@trianglesphere trianglesphere merged commit e9a306b into optimism Apr 8, 2024
10 checks passed
@trianglesphere trianglesphere deleted the jg/backport branch April 8, 2024 18:55
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.

3 participants