Skip to content

Commit 4695fac

Browse files
authored
feat: add resetGasMetering and expectPartialRevert cheatcodes (#597)
* Add resetGasMetering cheatcode * Add expectPartialRevert cheatcode
1 parent 58d3051 commit 4695fac

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/Vm.sol

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/Vm.t.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ contract VmTest is Test {
99
// inadvertently moved between Vm and VmSafe. This test must be updated each time a function is
1010
// added to or removed from Vm or VmSafe.
1111
function test_interfaceId() public pure {
12-
assertEq(type(VmSafe).interfaceId, bytes4(0x23e7dc1b), "VmSafe");
13-
assertEq(type(Vm).interfaceId, bytes4(0x1316b43e), "Vm");
12+
assertEq(type(VmSafe).interfaceId, bytes4(0x9dd1a1c8), "VmSafe");
13+
assertEq(type(Vm).interfaceId, bytes4(0x02edefa2), "Vm");
1414
}
1515
}

0 commit comments

Comments
 (0)