Skip to content

Commit 83c5d21

Browse files
authored
feat: add the latest cheatcodes (#633)
- add `delegatecall` flag to `prank` cheatcodes (foundry-rs/foundry#8863) - support EIP-7702 Delegations (`create/sign/attachDelegation`) (foundry-rs/foundry#9236) - add `contains` to check if a string contains another string (foundry-rs/foundry#9085)
1 parent 2b59872 commit 83c5d21

File tree

2 files changed

+101
-66
lines changed

2 files changed

+101
-66
lines changed

src/Vm.sol

Lines changed: 99 additions & 64 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ 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(0xa95c1408), "Vm");
12+
assertEq(type(Vm).interfaceId, bytes4(0x21af9696), "Vm");
1313
}
1414

1515
function test_VmSafeInterfaceId() public pure {
16-
assertEq(type(VmSafe).interfaceId, bytes4(0x590bc2b4), "VmSafe");
16+
assertEq(type(VmSafe).interfaceId, bytes4(0x92fe99ad), "VmSafe");
1717
}
1818
}

0 commit comments

Comments
 (0)