Test 56 directed Ethereum, Solana, and WIRE swap routes - #67
Conversation
8a465bc to
628d46c
Compare
|
Applied the same orchestration/style cleanup in 45b3b06. The matrix no longer changes shared ClusterBuildPhaseGroup behavior or introduces a failure-mode enum/environment switch. It uses the existing fail-fast model and one public matrix planner. I also removed the unrelated expansion that had accumulated around the matrix: LIQETH funding/rejection probing, nonce-recovery plumbing, LIQ collateral handling, bigint migrations across existing flows, and their associated tests. Those concerns do not belong in a supported-route conformance PR. LIQETH remains explicitly outside the advertised positive route catalog. The resulting PR is focused on the 56 supported directed routes, reuses the existing cluster identity/funding/swap/underwriter tools, and is 862 lines smaller in this cleanup commit. Focused route-matrix source typecheck, ESLint, and diff checks pass. |
Summary
Adds
flow-swap-route-matrix, a serial conformance FlowScenario for every currently supported directed public-token route across Ethereum, Solana, and WIRE.Coverage
The positive matrix contains 56 exact routes:
Each route reports authorization, request submission, source custody where applicable, UWREQ creation, underwriting confirmation, expected lock state, and destination payout as separate Steps.
LIQETH is outside this positive conformance catalog while its source-custody policy remains unresolved. This PR does not add a separate LIQETH policy probe or claim support for that route.
Execution model
Routes run serially because they share Ethereum, Solana, and WIRE identities and would otherwise race nonces and balance baselines. The flow uses standard cluster-tool fail-fast behavior and stops at the first failed route.
The package exposes one composition boundary,
planSwapRouteMatrix; family, direction, and individual-route assembly are implementation details. This is long-running conformance coverage, not a stress test. Private-reserve behavior remains inflow-swap-private-reserves.Scope
The PR adds the route-matrix package and its repository registration/documentation. It does not change shared cluster-tool orchestration, introduce a failure-mode enum, add nonce-recovery behavior, modify collateral flows, or alter existing FlowScenarios.
Verification
Build and test: passed on the current head;git diff --check: passed.This PR intentionally remains draft while the full live matrix is exercised and reviewed.