Skip to content

Commit

Permalink
evm: minor test code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
scnale committed Jan 10, 2025
1 parent 7e59e42 commit 2212c5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
6 changes: 0 additions & 6 deletions evm/test/User.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1267,12 +1267,6 @@ contract UserTest is TbrTestBase {
address recipient = makeAddr("recipient");
bool unwrapIntent = true;

vm.mockCall(
address(oracle),
abi.encodeWithSelector(IPriceOracle.get1959.selector),
abi.encode(abi.encodePacked(uint16(HOME_CHAIN_ID)))
);

(bytes memory encodedVaa, uint64 sequence) = craftTbrV3Vaa(
wormholeCore,
originTokenBridge,
Expand Down
11 changes: 5 additions & 6 deletions evm/test/utils/utils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,11 @@ function craftTbrV3Vaa(
targetTBR,
recipientChain,
originTBR,
abi.encodePacked(
TBR_V3_MESSAGE_VERSION,
universalRecipient,
gasDropoff,
unwrapIntent
)

TBR_V3_MESSAGE_VERSION,
universalRecipient,
gasDropoff,
unwrapIntent
);

WormholeOverride.setUpOverride(wormhole);
Expand Down

0 comments on commit 2212c5a

Please sign in to comment.