Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ermyas committed Sep 22, 2023
1 parent 6e41562 commit 1eebb14
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/unit-tests/MultiBridgeMessageSender.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,8 @@ contract MultiBridgeMessageSenderTest is Setup {
vm.startPrank(owner);

address[] memory adapters = new address[](2);
address higherAddr0 = address(uint160(axelarAdapterAddr) + 1);
address higherAddr1 = address(uint160(axelarAdapterAddr) + 2);
address higherAddr0 = address(uint160(wormholeAdapterAddr) + 1);
address higherAddr1 = address(uint160(wormholeAdapterAddr) + 2);
adapters[0] = higherAddr0;
adapters[1] = higherAddr1;

Expand All @@ -493,9 +493,9 @@ contract MultiBridgeMessageSenderTest is Setup {
sender.addSenderAdapters(adapters);

assertEq(sender.senderAdapters(0), axelarAdapterAddr);
assertEq(sender.senderAdapters(1), higherAddr0);
assertEq(sender.senderAdapters(2), higherAddr1);
assertEq(sender.senderAdapters(3), wormholeAdapterAddr);
assertEq(sender.senderAdapters(1), wormholeAdapterAddr);
assertEq(sender.senderAdapters(2), higherAddr0);
assertEq(sender.senderAdapters(3), higherAddr1);
}

/// @dev only owner can call
Expand Down

0 comments on commit 1eebb14

Please sign in to comment.