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.
This commit is contained in:
committed by
Diana Carvalho
parent
a37805d046
commit
e8f56ff088
@@ -56,7 +56,8 @@ contract UniswapV3ExecutorTest is Test, Constants, Permit2TestHelper {
|
|||||||
);
|
);
|
||||||
pancakeV3Exposed = new UniswapV3ExecutorExposed(
|
pancakeV3Exposed = new UniswapV3ExecutorExposed(
|
||||||
PANCAKESWAPV3_DEPLOYER_ETHEREUM,
|
PANCAKESWAPV3_DEPLOYER_ETHEREUM,
|
||||||
PANCAKEV3_POOL_CODE_INIT_HASH, PERMIT2_ADDRESS
|
PANCAKEV3_POOL_CODE_INIT_HASH,
|
||||||
|
PERMIT2_ADDRESS
|
||||||
);
|
);
|
||||||
permit2 = IAllowanceTransfer(PERMIT2_ADDRESS);
|
permit2 = IAllowanceTransfer(PERMIT2_ADDRESS);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user