feat: add new attributes in encoding context, update usv4 swap encoder and tests

This commit is contained in:
royvardhan
2025-02-19 08:39:21 +05:30
parent 529456f40c
commit 1bfe656e6b
4 changed files with 111 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ contract UniswapV4ExecutorTest is Test, Constants {
function testSingleSwapIntegration() public {
// USDE -> USDT
// Generated by the Tycho swap encoder - test_encode_uniswap_v4
// Generated by the Tycho swap encoder - test_encode_uniswap_v4_simple_swap
bytes memory protocolData =
hex"4c9edd5852cd905f086c759e8383e09bff1e68b3dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000000000000000000000000000000000000000000001015615deb798bb3e4dfa0139dfa1b3d433cc23b72f91dd7346dac17f958d2ee523a2206206994597c13d831ec7000064000001";