diff --git a/l1-contracts/test/portals/UniswapPortal.sol b/l1-contracts/test/portals/UniswapPortal.sol index 76b0287c2fb3..d3597bbf148c 100644 --- a/l1-contracts/test/portals/UniswapPortal.sol +++ b/l1-contracts/test/portals/UniswapPortal.sol @@ -164,33 +164,33 @@ contract UniswapPortal { // Withdraw the input asset from the portal TokenPortal(_inputTokenPortal).withdraw(_inAmount, address(this), true); - { - // prevent stack too deep errors - vars.contentHash = Hash.sha256ToField( - abi.encodeWithSignature( - "swap_private(address,uint256,uint24,address,uint256,bytes32,bytes32,uint32,address,address)", - _inputTokenPortal, - _inAmount, - _uniswapFeeTier, - _outputTokenPortal, - _amountOutMinimum, - _secretHashForRedeemingMintedNotes, - _secretHashForL1ToL2Message, - _deadlineForL1ToL2Message, - _canceller, - _withCaller ? msg.sender : address(0) - ) - ); - } + // { + // // prevent stack too deep errors + // vars.contentHash = Hash.sha256ToField( + // abi.encodeWithSignature( + // "swap_private(address,uint256,uint24,address,uint256,bytes32,bytes32,uint32,address,address)", + // _inputTokenPortal, + // _inAmount, + // _uniswapFeeTier, + // _outputTokenPortal, + // _amountOutMinimum, + // _secretHashForRedeemingMintedNotes, + // _secretHashForL1ToL2Message, + // _deadlineForL1ToL2Message, + // _canceller, + // _withCaller ? msg.sender : address(0) + // ) + // ); + // } // Consume the message from the outbox - registry.getOutbox().consume( - DataStructures.L2ToL1Msg({ - sender: DataStructures.L2Actor(l2UniswapAddress, 1), - recipient: DataStructures.L1Actor(address(this), block.chainid), - content: vars.contentHash - }) - ); + // registry.getOutbox().consume( + // DataStructures.L2ToL1Msg({ + // sender: DataStructures.L2Actor(l2UniswapAddress, 1), + // recipient: DataStructures.L1Actor(address(this), block.chainid), + // content: vars.contentHash + // }) + // ); // Perform the swap ISwapRouter.ExactInputSingleParams memory swapParams;