You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(uniswap_v3): cover Ramses + Slipstream CL-style mint dispatch
uniswap_v3.ts branches went 47.36% → 75%. The Uniswap V3 standard
mint path (11-field MintParams with uint24 fee) was already
exercised; the two CL-fork branches were dead under coverage:
- cl_style='ramses' → 11-field RamsesMintParams (int24
tickSpacing replaces uint24 fee,
no sqrtPriceX96)
- cl_style='slipstream' → 12-field SlipstreamMintParams (adds
trailing uint160 sqrtPriceX96=0)
Both branches now have a happy-path test that decodes the
emitted calldata through the matching ABI and asserts
amount{0,1}Min came from the default 50bps slippage applied to
the sorted token pair. The Ramses test additionally asserts the
slipstream ABI cannot decode the same payload (length mismatch),
proving the 11-vs-12 field selector landed correctly.
Tick range is passed explicitly so neither test hits the slot0()
auto-range path (which requires an RPC mock).
0 commit comments