Skip to content

Commit 10183d3

Browse files
committed
figure out the wired code section, update the comments to clarify it
1 parent 36e93f8 commit 10183d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/fork/MessageTransferForkTest.t.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ contract MessageTransferForkTest is Test {
6262

6363
bytes memory signedMessage = abi.encodePacked("Hello, Amoy!");
6464

65-
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
66-
// Something wired here, the destinationChainSelector should be set in the setUp function and indeed set, but here it's still 0. //
65+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
66+
// Here I need to get the destinationChainSelector again since the state variable is stored in the destination chain not the source chain //
6767

6868
vm.selectFork(destinationFork);
6969
Register.NetworkDetails
@@ -73,7 +73,7 @@ contract MessageTransferForkTest is Test {
7373

7474
vm.selectFork(sourceFork);
7575

76-
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
76+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7777

7878
bytes32 messageId = sepoliaSender.sendMessage(
7979
destinationChainSelector,

0 commit comments

Comments
 (0)