From e8f56ff08860f3f7d248ba60bfbbd130f3e12082 Mon Sep 17 00:00:00 2001 From: TAMARA LIPOWSKI Date: Mon, 7 Apr 2025 20:42:54 -0400 Subject: [PATCH] feat: Proper USV2Executor transfer decoding + tests - Properly decode, update tests with proper decoding - Added test case for each transfer method - Also fully tested permit2 transferFrom and it works perfectly. TODO: - Fix integration tests once encoding is implemented. --- foundry/test/executors/UniswapV3Executor.t.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/foundry/test/executors/UniswapV3Executor.t.sol b/foundry/test/executors/UniswapV3Executor.t.sol index 5da5dea..819fbbc 100644 --- a/foundry/test/executors/UniswapV3Executor.t.sol +++ b/foundry/test/executors/UniswapV3Executor.t.sol @@ -56,7 +56,8 @@ contract UniswapV3ExecutorTest is Test, Constants, Permit2TestHelper { ); pancakeV3Exposed = new UniswapV3ExecutorExposed( PANCAKESWAPV3_DEPLOYER_ETHEREUM, - PANCAKEV3_POOL_CODE_INIT_HASH, PERMIT2_ADDRESS + PANCAKEV3_POOL_CODE_INIT_HASH, + PERMIT2_ADDRESS ); permit2 = IAllowanceTransfer(PERMIT2_ADDRESS); }