-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Milestone
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 -vvvcould be simplified to:
FORGE_SNAPSHOT_CHECK=true forge test --mt testGas -vvvAdditional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Next Up