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
I'd love to see some way to startGasRecording and stopGasRecording (similar to logs, state diff/mapping recordings) where we can record and retrieve a list of Gas[] to iterate over.
Following the
lastCallGas
addition here: https://github.com/foundry-rs/forge-std/releases/tag/v1.8.2I'd love to see some way to
startGasRecording
andstopGasRecording
(similar to logs, state diff/mapping recordings) where we can record and retrieve a list ofGas[]
to iterate over.This would give us much finer control (and I assume accuracy) over the gas measuring strategy we use here:
https://github.com/latticexyz/mud/blob/main/packages/gas-report/README.md
https://github.com/latticexyz/mud/blob/main/packages/gas-report/src/GasReporter.sol
The text was updated successfully, but these errors were encountered: