From b2c7b5ebca3f5cdefd0a68e70c834cd92484c877 Mon Sep 17 00:00:00 2001 From: Morty Date: Wed, 25 Sep 2024 22:31:38 +0800 Subject: [PATCH] fix: generate genesis slot --- scripts/deterministic/GenerateGenesis.s.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/deterministic/GenerateGenesis.s.sol b/scripts/deterministic/GenerateGenesis.s.sol index 340d3db..e7a682d 100644 --- a/scripts/deterministic/GenerateGenesis.s.sol +++ b/scripts/deterministic/GenerateGenesis.s.sol @@ -185,6 +185,9 @@ contract GenerateGenesis is DeployScroll { bytes32 _recipientSlot = hex"0000000000000000000000000000000000000000000000000000000000000003"; vm.store(predeployAddr, _recipientSlot, vm.load(_vaultAddr, _recipientSlot)); + bytes32 _ETHGatewaySlot = hex"0000000000000000000000000000000000000000000000000000000000000005"; + vm.store(predeployAddr, _ETHGatewaySlot, vm.load(_vaultAddr, _ETHGatewaySlot)); + // reset so its not included state dump vm.etch(address(_vaultAddr), ""); vm.resetNonce(address(_vaultAddr));