misc fixes#452
Conversation
Greptile SummaryThis PR makes two fixes: it replaces the generic Confidence Score: 4/5Safe to merge; the ABI fix is correct and the only concern is an unused helper in tests. The core change — replacing tests/test_uniswap4.py — Important Files Changed
Sequence DiagramsequenceDiagram
participant Caller
participant Uniswap4
participant eth_abi as eth_abi.encode
participant UniversalRouter
Caller->>Uniswap4: token_to_token_swap_exact_input(input_token, qty, ...)
Uniswap4->>eth_abi: encode(["(address,(address,uint24,int24,address,bytes)[],uint128,uint128)"], [params])
Note over eth_abi: Previously used tuple[] — now uses explicit PathKey ABI type
eth_abi-->>Uniswap4: exact_input_params bytes
Uniswap4->>UniversalRouter: execute(V4_SWAP commands, inputs, deadline)
UniversalRouter-->>Caller: tx hash
Reviews (1): Last reviewed commit: "misc fixes" | Re-trigger Greptile |
No description provided.