Skip to content

feat(hardfork): support EIP-7907: increase initcode and contract code size limit #10932

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

jgresham
Copy link

@jgresham jgresham commented Jul 5, 2025

Motivation

Closes #10624

EIP-7907 is now SFI'd for Osaka.

Solution

These code limits are lower and currently pending as a PR, but have been agreed upon in the latest ACDE.

forge build --sizes --evm-version osaka can be used to test these changes and forge build --sizes --evm-version prauge for regression testing.

PR Checklist

Copy link
Member

@DaniPopes DaniPopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Minors nits

@zerosnacks
Copy link
Member

Thanks!

#[serde(skip)]
pub ignore_eip_3860: bool,
pub ignore_initcode_size: bool,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zerosnacks @DaniPopes are you okay with changing the default here? Shouldn't be any breaking changes from cli usage due to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

feat(hardfork): support EIP-7907: increase initcode and contract code size limit
3 participants