Skip to content

Commit

Permalink
Add resetGasMetering cheatcode
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy committed Aug 27, 2024
1 parent 58d3051 commit a861561
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Vm.sol

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/Vm.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract VmTest is Test {
// inadvertently moved between Vm and VmSafe. This test must be updated each time a function is
// added to or removed from Vm or VmSafe.
function test_interfaceId() public pure {
assertEq(type(VmSafe).interfaceId, bytes4(0x23e7dc1b), "VmSafe");
assertEq(type(VmSafe).interfaceId, bytes4(0x9dd1a1c8), "VmSafe");
assertEq(type(Vm).interfaceId, bytes4(0x1316b43e), "Vm");
}
}

0 comments on commit a861561

Please sign in to comment.