From 3f383dde1f6c64e0451fc814e6b38b0ddb7317f1 Mon Sep 17 00:00:00 2001 From: Michael Zhou Date: Wed, 6 Sep 2023 12:13:03 -0700 Subject: [PATCH] Accommodate MultiMessageMsgSent event change --- test/unit-tests/MultiMessageSender.t.sol | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/unit-tests/MultiMessageSender.t.sol b/test/unit-tests/MultiMessageSender.t.sol index c5e9fca..58b6e5f 100644 --- a/test/unit-tests/MultiMessageSender.t.sol +++ b/test/unit-tests/MultiMessageSender.t.sol @@ -22,6 +22,7 @@ contract MultiMessageSenderTest is Setup { uint256 indexed dstChainId, address indexed target, bytes callData, + uint256 nativeValue, uint256 expiration, address[] senderAdapters, bool[] adapterSuccess @@ -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); @@ -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); @@ -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);