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: derive block gas limit from rpc for forge script and anvil when forking #9753

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zerosnacks
Copy link
Member

@zerosnacks zerosnacks commented Jan 24, 2025

Motivation

Closes: #9752
Closes: #9723

Solution

  • Fixes gas_limit as reported by Anvil

When forking Sonic, has 1 billion gas limit: anvil --fork-url https://rpc.soniclabs.com

Previously reported:

Gas Limit
==================

30000000

Fixed:

Gas Limit
==================

1000000000

Tested against both repro's in and works as expected

Opening for visibility, still want to add a few tests

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
1 participant