qa: fix /limits tokenDisplay import for #461 pre-sign chain label #1000
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!1000
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "qa/461-verify-limit-presign-import-fix"
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 #461 found the core
LimitOrderPreSubmitSummarychain row already merged (!989,16d19e71), but/limitscrashed at runtime because commit16d19e71accidentally replaced thetokenDisplayimport withtradeDirectionSideLabelsonly. RestoresfetchCW20TokenInfo,getTokenDisplaySymbol, andshortenAddressand adds a Vitest regression on/limits.Verification checklist (#461)
LimitOrderPreSubmitSummary.tsxrows; Playwright on/trade+/limitsafter fixgetNetworkBadgeCopy().fullLabelLimitOrderPreSubmitSummary.tsx; Vitest + page tests assertLocalTerranpm run test:run -- src/components/trade/__tests__/LimitOrderPreSubmitSummary.test.tsx(5/5)/tradeand/limits(Playwright +TradePage.test.tsx/ newLimitOrdersPagetest)Commands
Follow-ups
/limitspre-submit chain row (parity withTradePage.test.tsx) so the import regression is caught in CI browser tests too.Security review — MR !1000
Commit reviewed:
ee5f71d8ba6526f06f0ff113491ac8ec3349ba1dScope: Restores missing
tokenDisplayimport on/limits(LimitOrdersPage.tsx) and adds Vitest regression for #461 pre-submit chain label (LimitOrdersPage.test.tsx).Method: Diff review; traced attacker-controlled inputs on re-enabled paths (
fetchCW20TokenInfo,getTokenDisplaySymbol,shortenAddress) to sinks (LCDqueryContract, React text rendering inLimitOrderPreSubmitSummaryand related UI). Checked prior MR discussion threads (none).Outcome:
FINDINGS: 0medium+Summary
This MR is a runtime fix only: it re-attaches imports that were accidentally dropped in
16d19e71, which had caused/limitsto crash before the pre-submit summary could render. No new logic, dependencies, or data flows are introduced.SummaryRow{value}, template strings). NodangerouslySetInnerHTML. React escaping applies.fetchCW20TokenInfo→queryContracthits only configuredTERRA_LCD_URLwith bech32terra1…addresses from factory pair metadata (not free-form user URLs). Pre-existing pattern; unchanged by this diff.Inline threads: None (no medium+ findings to anchor).
Prior security comments: None on this MR; nothing to re-report.
Security review: no medium+ findings on this diff.
mentioned in commit
4f4f4de102