fix(routes): converge quotes and retain current price notices #1490
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!1490
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/1489-route-discovery"
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?
Automatic native LUNC→USTR could retain an inferior short route while an eligible higher-net three-hop quote existed on the same original economics. Successful unchanged fee validation and configuration epochs discarded deeper work, and cached short results could bypass retry after job saturation. Swap also hid its current price-difference notice during background refresh while leaving the same receive value displayed.
Keep useful first output, drain coalesced deferred discovery fairly and publish strictly higher eligible delivered net before original expiry. Preserve four workers, four pool hops, 1,024 paths and 16,384 visits; waiting work has fixed count/accounting limits while a qualified larger context may use an already free worker. Genuine changed fees, negatives and tighter validity windows revoke unsafe work. Native requests remain pool-only, and wrapped book modes retain their policy. Receive/truncation descriptions state the actual bounded objective.
Swap and Trade poll the exact original intent and adopt improvements through ordinary validation; reviewed transactions stay pinned. A same-intent unexpired quote keeps its price notice while signing remains blocked during refresh. New quotes, changed intent and original expiry update or clear it truthfully. No threshold hysteresis is introduced; exact5/30/99 controls, reference quality, raw funding/floors, taxes/hooks and offline budgets remain intact.
Validation: all thirteen original new/related verifiers pass with explicit external skips (185 groups, zero final failures). The final notice supplement repeats affected1489/1483/1473 (58 groups, zero failures), nine backend regressions and306 focused frontend tests per round. Full final frontend first/retest passes370 files/3,386 tests per round;134 actual component controls per round, types/lint/build and secret scan pass. The complete4,250-case controlled browser matrix has3,948 validated useful quotes, zero failures/provider requests and maximum298ms at the original750ms budget. Owned native/wrapped three-hop first/retest each passed18 exact settlements and72 atomic hop/final-floor rejections. Retained failures, current fingerprints and scope are in docs/qa/issue-1489/RESULTS.md.
Refs #1489; follows #1483. Documentation, API/search/progress contracts and third-party agent guidance are crosslinked to this PR. Physical custody, independent atomic production SQL/reserves and complete production wrapper acceptance remain unchecked; this PR does not close the issue. No production reset or signing.
fix(routes): converge eligible native and wrapped route discoveryto fix(routes): converge quotes and retain current price notices