From 2212c5a20245299b4284c51489c9dfe2252b2102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Claudio=20Nale?= Date: Fri, 10 Jan 2025 16:53:31 -0300 Subject: [PATCH] evm: minor test code cleanup --- evm/test/User.t.sol | 6 ------ evm/test/utils/utils.sol | 11 +++++------ 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/evm/test/User.t.sol b/evm/test/User.t.sol index 03e50bb6..6e79985d 100644 --- a/evm/test/User.t.sol +++ b/evm/test/User.t.sol @@ -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, diff --git a/evm/test/utils/utils.sol b/evm/test/utils/utils.sol index 4ca0af92..895681c9 100644 --- a/evm/test/utils/utils.sol +++ b/evm/test/utils/utils.sol @@ -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);