Skip to content

Commit e04104a

Browse files
authored
feat: add setArbitraryStorage, copyStorage, mockFunction and assumeNoRevert cheatcodes (#602)
1 parent 1ce7535 commit e04104a

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

src/Vm.sol

Lines changed: 17 additions & 0 deletions
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(0x9dd1a1c8), "VmSafe");
13-
assertEq(type(Vm).interfaceId, bytes4(0x02edefa2), "Vm");
12+
assertEq(type(VmSafe).interfaceId, bytes4(0x74d42398), "VmSafe");
13+
assertEq(type(Vm).interfaceId, bytes4(0xaf15a283), "Vm");
1414
}
1515
}

0 commit comments

Comments
 (0)