Skip to content

Commit 6853b9e

Browse files
authored
feat: new accessList, warm/coolSlot. Include cool cheatcode too. (#670)
- adds new cheatcodes introduced in foundry-rs/foundry#10112 foundry-rs/foundry#10128 - add `cool` by removing Experimental status - include `expectCreate` / `expectCreate2` and `foundryVersionAtLeast/foundryVersionCmp`
1 parent 8ba9031 commit 6853b9e

File tree

2 files changed

+47
-2
lines changed

2 files changed

+47
-2
lines changed

src/Vm.sol

+45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/Vm.t.sol

+2-2
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(0xdb28dd7b), "Vm");
12+
assertEq(type(Vm).interfaceId, bytes4(0x6bb3d14a), "Vm");
1313
}
1414

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

0 commit comments

Comments
 (0)