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: evm options to ignore max-bytecode-size and support caller overriding #366

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

protolambda
Copy link
Collaborator

@protolambda protolambda commented Aug 21, 2024

Description

  • New NoMaxCodeSize EVM config option, to run larger contracts (forge scripts specifically) in the Go EVM
  • New CallerOverride EVM config option, to implement EVM-caller pranks, to support forge scripts.

Tests

Existing tests cover precompiles, max-code-size and caller usage. The config option code-paths are used and tested in the monorepo.

Metadata

Part of unblocking ethereum-optimism/optimism#11490

Signed-off-by: protolambda <proto@protolambda.com>
@protolambda protolambda marked this pull request as ready for review August 22, 2024 21:04
@protolambda protolambda requested a review from a team as a code owner August 22, 2024 21:04
Copy link
Contributor

@axelKingsley axelKingsley left a comment

Choose a reason for hiding this comment

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

very clean, thanks

core/vm/evm.go Show resolved Hide resolved
@protolambda protolambda merged commit 6c8de76 into optimism Aug 22, 2024
10 checks passed
@protolambda protolambda deleted the evm-options branch August 22, 2024 21:39
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