Skip to content

Releases

v1.3.1

Choose a tag to compare

@mmsaki mmsaki released this 07 Nov 01:03
1ce69b1

Async Swap v1.3.1 ports the matching Solidity release, including memory matching, fee top-ups and LP routing. Use src/current/; root src/ retains the legacy implementation.

Stateful differential testing found and fixed LP full-fill ordering: close the order, pay the maker, then settle the priority bid. Existing assertions are unchanged.

Validation Result
Stateful differential 132,096 paired actions; state, ordered logs and return/revert bytes checked after each action
Huff behavioral coverage 1,017 tests/invariant predicates passed; 59 architecture checks reference-only
Solar comparison 1,017 Huff tests/predicates and 16,896 paired actions passed
Legacy suite 208 tests/invariant predicates passed
Size/memory/pool-priority checks 5 passed; pool-priority fuzzing at 4,096 cases
Router receipt benchmark 1,000 transactions / 5,200 matched pairs; all assertions passed
Gas vs previous Huff Unchanged in all 10 workloads
Gas vs Solidity Single fills 7.3–24.5% less; eight-level sweeps 17.2–18.3% less; other eight-fill workloads 11.1–12.9% more
Hook / Router runtime 24,321 / 10,952 bytes

Compatibility source: Solidity 34b05bdcfb642727d1d6856f1ba91957dcf5d3b7. Its production source tree is identical to the long campaign's oracle, 3f4a5f106f55cc4b90b11d0ce0f0143f5e64ed89. The added v1.3.1 nonce-replay regression is copied unchanged and passes; its full nine-test suite was rerun at 2,048 fuzz cases.

Validation uses Forge 1.8.6, hnc 1.6.2 and solc 0.8.26. Receipt benchmarks use Foundry 1.9.0. Campaigns overlap. The differential fixtures use controlled tokens and bounded action generation; this is regression evidence, not a proof of complete equivalence or an independent audit. No public deployments are included.

Changes and validation are in PR #9.