You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've been using PRBTest for a project where we need to do some gas calculations, but there are no methods to pause and resume gas metering, i.e. pauseGasMetering() and resumeGasMetering(), as in Vm from forge-std.
Thought I should let you know.
The text was updated successfully, but these errors were encountered:
The problem is that I have to maintain a copy of the Vm interface, and I sometimes miss the latest updates in Forge Std. It looks like these gas metering cheats have been added in this PR.
I will add them shortly in PRBTest and ship a new version (v0.5.5) so you can start using them right away.
Related: I just made a proposal in the Forge Std repo to modularize the Vm interface to a dedicated repo:
Hello, I've been using
PRBTest
for a project where we need to do some gas calculations, but there are no methods to pause and resume gas metering, i.e.pauseGasMetering()
andresumeGasMetering()
, as inVm
from forge-std.Thought I should let you know.
The text was updated successfully, but these errors were encountered: