Verify #418: hybrid quote E2E helpers and limit-orders docs #947
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!947
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "verify-issue-418-hybrid-quote-e2e-docs"
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?
Summary
Verification of GitLab #418 (align hybrid swap quotes with hybrid on-chain execution) on
mainfound the product implementation already complete (directHybridQuote.ts, hybrid defaults on, mismatch UI removed). This MR fixes verification gaps:docs/limit-orders.md— remove stalereceiveQuoteIsPoolOnlyWithConfiguredBookLeginvariant; document hybrid quote=execute (#418).e2e/helpers/swap-ui.ts— expand Advanced settings viaswap-indexer-route-checktest id (React-controlled<details>no longer exposes nativeopenreliably).e2e/hybrid-swap.spec.ts— close Settings after book-leg setup, enable Expert Mode for high-slippage LocalTerra seed, attach pre-submit hybrid quote screenshot.Verification checklist (#418)
make test-frontend(1084 tests);directHybridQuote.test.ts;SwapPage.test.tsx#418 casehybridQuoteMismatch/receiveQuoteIsPoolOnlyWithConfiguredBookLegin frontend;SwapPage.test.tsxasserts no pool-only simulation copyquoteDisclosurereflects actual sim pathTradeMarketOrderPanel.submitSnapshot.test.tsxretail disclosure;quoteDisclosureForIndexerKindunit testsmake test-indexer-integration(all route solve hybrid cases);multihop-hybrid-tx.spec.tsquote vs executehybrid-swap.spec.tsattacheshybrid-swap-quote-before-submit; pre-submit summary shows same receive est.TradeMarketOrderPaneldefaultuseHybridBook: true; unit testshows retail-friendly disclosure on the market quote cardmake test-frontendmake test-indexer-integratione2e/hybrid-swap.spec.ts+fee-discount-quote-245.spec.ts+multihop-hybrid-tx.spec.ts--project=e2e-tx)directHybridQuotethrows on hybrid sim failure (no silent pool fallback); indexer integration testshybridQuoteMismatchremovedfrontend-dapp/Follow-ups
fee-discount-quote-245.spec.tswith a hybrid-on Trade market quote=execute tx case (currently pool-only for #245 tier parity; multihop hybrid tx covers quote=execute for router path).Security review — MR !947
Commit reviewed:
a58948b6cbd6ea74a485f3d369cab2253aa4327dScope:
docs/limit-orders.md,frontend-dapp/e2e/helpers/swap-ui.ts,frontend-dapp/e2e/hybrid-swap.spec.ts(verification / E2E / docs only; no production frontend, indexer, or contract code in this diff).Method: Full MR diff review; traced attacker-controlled input to sinks on changed lines; checked prior MR discussions (none).
Outcome:
FINDINGS: 0medium+Summary
This MR aligns limit-order documentation with #418 (hybrid quote = execute) and hardens Playwright hybrid-swap E2E helpers (Advanced settings expansion via
swap-indexer-route-check, expert-mode setup for LocalTerra slippage, pre-submit screenshot attachment). All changes are non-shipping test automation or documentation.fetchTxJson/ LCD helpers; no new outbound URL constructionNo inline threads opened (no medium+ findings).
Security review: no medium+ findings on this diff.
mentioned in commit
3de656052a