diff --git a/test/integration/RelayOrderReactorIntegration.t.sol b/test/integration/RelayOrderReactorIntegration.t.sol index fecad542..62506c2c 100644 --- a/test/integration/RelayOrderReactorIntegration.t.sol +++ b/test/integration/RelayOrderReactorIntegration.t.sol @@ -225,9 +225,9 @@ contract RelayOrderReactorIntegrationTest is GasSnapshot, Test, PermitSignature bytes[] memory actions = new bytes[](1); // calldata same as testExecute but recipient is 0xdeadbeef. We don't use address zero for this test since some tokens block transfer to it explicitly - bytes memory DAI_USDC_UR_CALLDATA = + bytes memory DAI_USDC_UR_CALLDATA_NON_REACTOR_RECIPIENT = hex"24856bc3000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000deadbeef0000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000000000000005adccc500000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b6b175474e89094c44da98b954eedeac495271d0f000064a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000"; - actions[0] = abi.encode(ActionType.UniversalRouter, DAI_USDC_UR_CALLDATA); + actions[0] = abi.encode(ActionType.UniversalRouter, DAI_USDC_UR_CALLDATA_NON_REACTOR_RECIPIENT); RelayOrder memory order = RelayOrder({ info: OrderInfoBuilder.init(address(reactor)).withSwapper(swapper).withDeadline(block.timestamp + 100), @@ -241,8 +241,6 @@ contract RelayOrderReactorIntegrationTest is GasSnapshot, Test, PermitSignature SignedOrder memory signedOrder = SignedOrder(abi.encode(order), signOrder(swapperPrivateKey, address(PERMIT2), order)); - uint256 routerDaiBalanceBefore = DAI.balanceOf(UNIVERSAL_ROUTER); - vm.prank(filler); vm.expectRevert(CurrencyLibrary.InsufficientBalance.selector); reactor.execute(signedOrder);