frontend: add chain label to limit-order pre-sign summary (#461) #989
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!989
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "qa/461-limit-presign-chain-label"
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?
The limit-order pre-sign card showed deviation + fees but no in-app chain
anchor, so the first place a user saw the chain during limit placement was the
Keplr dialog — unlike swaps, whose pre-sign card shows
chainFullLabel(SEC-I05 F-02, SEC-D11 anti-phishing parity).
Add a Chain row to
LimitOrderPreSubmitSummaryderiving fromgetNetworkBadgeCopy().fullLabel(same source as the swap summary), via a newoptional
chainFullLabelprop that defaults to the env badge.Tests: new case asserts the
-chainrow renders the label; component suite 4/0,tsc clean.
Source + unit verified; the before-the-wallet-dialog placement is confirmed by
the existing TradeOrderTicket wiring and a laptop browser pass.
assigned to @Brouie
mentioned in issue #461
Security review — MR !989
Commit reviewed:
8ca9eb5145e3bf18c0bf5c81a360dc103df07e37Scope:
LimitOrderPreSubmitSummary.tsx— optionalchainFullLabelprop (defaults togetNetworkBadgeCopy().fullLabel) and Chain row in pre-sign UI; unit test inLimitOrderPreSubmitSummary.test.tsx.Outcome:
FINDINGS: 0medium+Summary: No medium, high, or critical vulnerabilities identified on this diff.
Review notes:
chainFullLabelis rendered as React text ({chainFullLabel}), notdangerouslySetInnerHTML. React escapes text nodes; no injection sink.TradeOrderTicket,LimitOrdersPage) do not passchainFullLabel; the default comes fromgetNetworkBadgeCopy(), which maps build-timeVITE_NETWORKto fixed allowlisted strings (LocalTerra,Terra Classic Testnet,Terra Classic). Not attacker-controlled at runtime.Inline threads: None (no findings requiring line-level comments).
Prior security-review comments: None on this MR; nothing to re-report.
mentioned in commit
b803ac105bmentioned in merge request !1000