diff --git a/test/invariant/MockAdaptor.sol b/test/invariant/MockAdaptor.sol index 2bc473fe..6f0df044 100644 --- a/test/invariant/MockAdaptor.sol +++ b/test/invariant/MockAdaptor.sol @@ -28,6 +28,7 @@ contract MockAdaptor is Test, IChildBridgeAdaptor, IRootBridgeAdaptor { { // Switch to the other chain. vm.selectFork(otherChainId); + console.log(""); // Due to a foundry bug, remove this logging will cause forge to crash. onMessageReceive(payload); // Switch back to the original chain. // Due to symmetry, the original chain is now stored as otherChainId. @@ -35,7 +36,6 @@ contract MockAdaptor is Test, IChildBridgeAdaptor, IRootBridgeAdaptor { } function onMessageReceive(bytes calldata data) public { - console.log(""); // Due to a foundry bug, remove this logging will cause forge to crash. messageReceiver.onMessageReceive(data); } }