Skip to content

Commit 6abf669

Browse files
authored
add intercept create cheatcode (#675)
- add `vm.interceptInitcode` foundry-rs/foundry#10242
1 parent 3353993 commit 6abf669

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/Vm.sol

Lines changed: 11 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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {Vm, VmSafe} from "../src/Vm.sol";
99
// added to or removed from Vm or VmSafe.
1010
contract VmTest is Test {
1111
function test_VmInterfaceId() public pure {
12-
assertEq(type(Vm).interfaceId, bytes4(0x6bb3d14a), "Vm");
12+
assertEq(type(Vm).interfaceId, bytes4(0xe835828d), "Vm");
1313
}
1414

1515
function test_VmSafeInterfaceId() public pure {

0 commit comments

Comments
 (0)