Skip to content

Commit

Permalink
Accommodate MultiMessageMsgSent event change
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominator008 committed Sep 6, 2023
1 parent 9ef5355 commit 3f383dd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/unit-tests/MultiMessageSender.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ contract MultiMessageSenderTest is Setup {
uint256 indexed dstChainId,
address indexed target,
bytes callData,
uint256 nativeValue,
uint256 expiration,
address[] senderAdapters,
bool[] adapterSuccess
Expand Down Expand Up @@ -91,7 +92,7 @@ contract MultiMessageSenderTest is Setup {

vm.expectEmit(true, true, true, true, address(sender));
emit MultiMessageMsgSent(
msgId, 1, DST_CHAIN_ID, address(42), bytes("42"), expiration, senderAdapters, adapterSuccess
msgId, 1, DST_CHAIN_ID, address(42), bytes("42"), 0, expiration, senderAdapters, adapterSuccess
);

sender.remoteCall{value: fee}(DST_CHAIN_ID, address(42), bytes("42"), 0);
Expand Down Expand Up @@ -145,7 +146,7 @@ contract MultiMessageSenderTest is Setup {

vm.expectEmit(true, true, true, true, address(sender));
emit MultiMessageMsgSent(
msgId, 1, DST_CHAIN_ID, address(42), bytes("42"), expiration, senderAdapters, adapterSuccess
msgId, 1, DST_CHAIN_ID, address(42), bytes("42"), 0, expiration, senderAdapters, adapterSuccess
);

sender.remoteCall{value: fee}(DST_CHAIN_ID, address(42), bytes("42"), 0, excludedAdapters);
Expand Down Expand Up @@ -244,7 +245,7 @@ contract MultiMessageSenderTest is Setup {

vm.expectEmit(true, true, true, true, address(sender));
emit MultiMessageMsgSent(
msgId, 1, DST_CHAIN_ID, address(42), bytes("42"), expiration, senderAdapters, adapterSuccess
msgId, 1, DST_CHAIN_ID, address(42), bytes("42"), 0, expiration, senderAdapters, adapterSuccess
);

sender.remoteCall{value: fee}(DST_CHAIN_ID, address(42), bytes("42"), 0);
Expand Down

0 comments on commit 3f383dd

Please sign in to comment.