fix(swap): size receive targets through bounded route solver #1378
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/cl8y-dex-terraclassic!1378
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-1376-receive-solver"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Receive targets such as 100 CL8Y could fail a feasible pool quote at the pair's 32-call reverse-search cap, leaving Pay blank without a useful explanation. This change adds bounded server receive sizing, preserves selected operations through wallet validation/submission, and exposes finite disconnected failures with retry.
Refs #1376.
Validation: 878 contract tests; 449 indexer library tests plus 12 exact-output, 29 existing route and 8 DB hybrid tests; focused frontend suite 192 tests per pass; 13 browser receive cases; lint/types/Clippy; #1256/#713/#678/#512/#1280 regressions. Final
make verify-issue-1376including LocalTerra: PASS=12 FAIL=0 SKIP=1. Hooks and secret scan passed.LocalTerra: 26 pairs migrated to the final artifact with pool state preserved. Funded CW20 execution matched the chosen two-hop operations, send amount and wallet minimum. The native dust fixture verified blocked risk consent; it did not broadcast a native transaction.
Issue criteria:
Agent review instructions and completed evidence: QA checklist, verification, third-party agent protocol. Run the issue verifier and applicable regressions, retain exact revision/results, and repeat the public migration/browser probes after rollout. Agents may record PASS with explicit skips for unavailable checks; an executed failure remains FAIL and a skipped criterion remains unverified. The production issue stays open until remaining acceptance is substantiated.
Search scope excludes hybrid-book sizing and unsupported option-2 taxed middle hops. Fair reference-only paths use fresh bounded pool arithmetic without extra live pause/blacklist probes; actual execution candidates receive those live guards. Production rollout was not performed in this PR delivery.