Skip to content

Conversation

brockelmore
Copy link
Member

Adds support for pauseGasMetering and resumeGasMetering to VmSafe.

Additionally adds a modifier: noGasMetering, that pauses gas metering during the function's execution and resumes afterward (allows for nested noGasMetering function calls).

Depends on
foundry-rs/foundry#3826

Copy link
Collaborator

@mds1 mds1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice modifier 👌

@mds1 mds1 merged commit a2b46c7 into master Dec 4, 2022
@DaniPopes DaniPopes deleted the brock/stop_gas_metering branch October 24, 2024 23:20
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.

3 participants