Skip to content

Commit

Permalink
Merge pull request #621 from boolafish/erc4337-tool
Browse files Browse the repository at this point in the history
feat(Vm): update cheatcode by vm.py
  • Loading branch information
zerosnacks authored Oct 10, 2024
2 parents 0ce0050 + f1bcd78 commit 4f57c59
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 5 deletions.
39 changes: 36 additions & 3 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,10 +9,10 @@ import {Vm, VmSafe} from "../src/Vm.sol";
// added to or removed from Vm or VmSafe.
contract VmTest is Test {
function test_VmInterfaceId() public pure {
assertEq(type(Vm).interfaceId, bytes4(0x61a5f010), "Vm");
assertEq(type(Vm).interfaceId, bytes4(0x329891d9), "Vm");
}

function test_VmSafeInterfaceId() public pure {
assertEq(type(VmSafe).interfaceId, bytes4(0xf7f67508), "VmSafe");
assertEq(type(VmSafe).interfaceId, bytes4(0x04f0cf87), "VmSafe");
}
}

0 comments on commit 4f57c59

Please sign in to comment.