Skip to content

Commit

Permalink
feat: add all new cheats to interface (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
mds1 committed Apr 25, 2024
1 parent 93340e7 commit 2d8b7b8
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 8 deletions.
106 changes: 100 additions & 6 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(0x97511f22), "VmSafe");
assertEq(type(Vm).interfaceId, bytes4(0xaf68a970), "Vm");
assertEq(type(VmSafe).interfaceId, bytes4(0xdf5d274d), "VmSafe");
assertEq(type(Vm).interfaceId, bytes4(0x5ee834da), "Vm");
}
}

0 comments on commit 2d8b7b8

Please sign in to comment.