Skip to content

Commit

Permalink
feat: add setArbitraryStorage, copyStorage, mockFunction and `a…
Browse files Browse the repository at this point in the history
…ssumeNoRevert` cheatcodes (#602)
  • Loading branch information
grandizzy committed Sep 11, 2024
1 parent 1ce7535 commit e04104a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions src/Vm.sol

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

4 changes: 2 additions & 2 deletions 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(0x9dd1a1c8), "VmSafe");
assertEq(type(Vm).interfaceId, bytes4(0x02edefa2), "Vm");
assertEq(type(VmSafe).interfaceId, bytes4(0x74d42398), "VmSafe");
assertEq(type(Vm).interfaceId, bytes4(0xaf15a283), "Vm");
}
}

0 comments on commit e04104a

Please sign in to comment.