From da61dc75cd903b8c62e2ee79518af51f5c093ca4 Mon Sep 17 00:00:00 2001 From: 0xKitsune <0xKitsune@protonmail.com> Date: Thu, 3 Aug 2023 19:01:40 -0400 Subject: [PATCH] fix: updated rolled fork --- src/test/StateBridge.t.sol | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/StateBridge.t.sol b/src/test/StateBridge.t.sol index 1b4a88f..e69fb24 100644 --- a/src/test/StateBridge.t.sol +++ b/src/test/StateBridge.t.sol @@ -90,8 +90,10 @@ contract StateBridgeTest is PRBTest, StdCheats { mainnetFork = vm.createFork(MAINNET_RPC_URL); vm.selectFork(mainnetFork); - /// @notice Roll the fork to the block where both Optimim's and Base's crossDomainMessenger contract is deployed - vm.rollFork(17482143); + /// @notice Roll the fork to a block where both Optimim's and Base's crossDomainMessenger contract is deployed + /// @notice and the Base crossDomainMessenger ResolvedDelegateProxy target address is initialized + vm.rollFork(17711915); + if (block.chainid == 1) { opCrossDomainMessengerAddress = address(0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1);