Open
Description
Component
Forge
Describe the feature you would like
Currently, --gas-report
uses --isolate
by default (as noted in #6578 (comment)) to ensure accurate gas measurements. Additionally, it has been suggested (see #8573 (comment)) that --isolate
should be used for the most precise gas measurements when vm.lastCallGas()
is utilized.
Given this context, I think it would be logical to enable --isolate
by default for tests that include snapshotGas
cheatcodes.
For example, the current command:
FORGE_SNAPSHOT_CHECK=true forge test --isolate --mt testGas -vvv
could be simplified to:
FORGE_SNAPSHOT_CHECK=true forge test --mt testGas -vvv
Additional context
No response
Metadata
Metadata
Assignees
Type
Projects
Status
Blocked