vm.pauseGasMetering()
bricks construction of contracts with external calls
#6057
Closed
2 tasks done
Labels
A-cheatcodes
Area: cheatcodes
C-forge
Command: forge
Cmd-forge-test
Command: forge test
T-bug
Type: bug
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (b0b8cfb 2023-10-18T00:17:29.353012000Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Apple Silicon)
Describe the bug
The below test contract shows how the creation of
SomeContract
succeeds with gas metering enabled, but fails when gas metering is disabled.This applies to both CREATE and CREATE2 opcodes.
Extra-verbose output is:
The full project can be found in this public repo. LMK if I can provide more info 🤗
The text was updated successfully, but these errors were encountered: