Skip to content

Commit ee01061

Browse files
meetmangukiyamds1
andauthored
feat(vm): add ensNamehash cheatcode (#555)
* feat(vm): add ensNamehash cheatcode * update interface id in tests * chore: run scripts/vm.py to organize cheats --------- Co-authored-by: Matt Solomon <[email protected]>
1 parent ffa2ee0 commit ee01061

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

src/Vm.sol

Lines changed: 13 additions & 10 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: 1 addition & 1 deletion
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(0xdf5d274d), "VmSafe");
12+
assertEq(type(VmSafe).interfaceId, bytes4(0x536a6b28), "VmSafe");
1313
assertEq(type(Vm).interfaceId, bytes4(0xb91a22ba), "Vm");
1414
}
1515
}

0 commit comments

Comments
 (0)