diff --git a/src/Vm.sol b/src/Vm.sol index c6aed005..53b26e8c 100644 --- a/src/Vm.sol +++ b/src/Vm.sol @@ -540,6 +540,9 @@ interface Vm is VmSafe { // Sets an address' code function etch(address target, bytes calldata newRuntimeBytecode) external; + // Load a genesis JSON file's `allocs` into the in-memory state. + function loadAllocs(string calldata pathToAllocsJson) external; + // Resets the nonce of an account to 0 for EOAs and 1 for contract accounts function resetNonce(address account) external; diff --git a/test/Vm.t.sol b/test/Vm.t.sol index 3c1d73f1..c4a15fe9 100644 --- a/test/Vm.t.sol +++ b/test/Vm.t.sol @@ -10,6 +10,6 @@ contract VmTest is Test { // added to or removed from Vm or VmSafe. function test_interfaceId() public { assertEq(type(VmSafe).interfaceId, bytes4(0x329f5e71), "VmSafe"); - assertEq(type(Vm).interfaceId, bytes4(0x82ccbb14), "Vm"); + assertEq(type(Vm).interfaceId, bytes4(0x316cedc3), "Vm"); } }