Skip to content

fix: disable block gas limit for call --trace #8496

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

Merged

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Jul 22, 2024

closes #6937

call --trace executes an eth_call locally, usually for eth_call the gas limit is way higher and checks are disabled.

this makes the example pass

Transaction successfully executed.
Gas used: 38683717

@mattsse mattsse requested review from DaniPopes and Evalir as code owners July 22, 2024 18:34
@mattsse mattsse requested a review from klkvr July 22, 2024 18:35
@mattsse mattsse enabled auto-merge (squash) July 22, 2024 18:43
@mattsse mattsse force-pushed the matt/disable-block-gas-limit-for-call-trace branch from bf3c60c to 2e719cc Compare July 22, 2024 18:46
@mattsse mattsse disabled auto-merge July 22, 2024 19:05
@mattsse mattsse merged commit 62cdea8 into foundry-rs:master Jul 22, 2024
31 of 40 checks passed
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.

Anvil --disable-block-gas-limit is set, but still getting OutOfGas error
2 participants