Frontend/docs: Pair pause blocks limit cancel (invariant L6) #73

Closed
opened 2026-04-09 03:23:57 +00:00 by PlasticDigits · 4 comments
PlasticDigits commented 2026-04-09 03:23:57 +00:00 (Migrated from gitlab.com)

Type

missing-implementation (UX honesty)

Evidence

  • docs/contracts-security-audit.md L6

Acceptance criteria

  • Users informed on /limits or docs that cancel is unavailable while paused

Epic

#58

## Type **missing-implementation** (UX honesty) ## Evidence - `docs/contracts-security-audit.md` **L6** ## Acceptance criteria - [ ] Users informed on `/limits` or docs that cancel is unavailable while paused ## Epic #58
PlasticDigits commented 2026-04-09 03:23:58 +00:00 (Migrated from gitlab.com)

marked this issue as related to #58

marked this issue as related to #58
PlasticDigits commented 2026-04-13 04:51:40 +00:00 (Migrated from gitlab.com)

Pair IsPaused query + /limits pause banner (L6 copy, links to security audit and limit-orders.md), place/cancel disabled while paused. getPairPaused in pair.ts + Vitest. @brouie please confirm copy and links on a paused pair if available.

Pair `IsPaused` query + `/limits` pause banner (L6 copy, links to security audit and limit-orders.md), place/cancel disabled while paused. `getPairPaused` in `pair.ts` + Vitest. @brouie please confirm copy and links on a paused pair if available.
PlasticDigits commented 2026-04-13 04:51:46 +00:00 (Migrated from gitlab.com)

mentioned in issue #58

mentioned in issue #58
Brouie commented 2026-04-20 06:31:28 +00:00 (Migrated from gitlab.com)

@PlasticDigits Verified on current main. Acceptance criteria:

  • Users informed on /limits or docs that cancel is unavailable while paused: LimitOrdersPage.tsx lines 213-214 shows pause banner with copy 'This pair is paused by governance. New limit orders and cancel are unavailable until the pair is unpaused (invariant L6 — resting escrow stays locked).' Line 223 links to Security audit (L6).

Supporting infrastructure:

  • getPairPaused() at frontend-dapp/src/services/terraclassic/pair.ts line 23 queries on-chain IsPaused directly (independent of indexer availability per ADR 0002)
  • Vitest coverage at frontend-dapp/src/services/terraclassic/tests/pair.test.ts
  • Place/cancel UI disabled while paused per the banner logic

UX honesty invariant L6 properly surfaced to users. Closing.

@PlasticDigits Verified on current main. Acceptance criteria: - [x] Users informed on /limits or docs that cancel is unavailable while paused: LimitOrdersPage.tsx lines 213-214 shows pause banner with copy 'This pair is paused by governance. New limit orders and cancel are unavailable until the pair is unpaused (invariant L6 — resting escrow stays locked).' Line 223 links to Security audit (L6). **Supporting infrastructure:** - getPairPaused() at frontend-dapp/src/services/terraclassic/pair.ts line 23 queries on-chain IsPaused directly (independent of indexer availability per ADR 0002) - Vitest coverage at frontend-dapp/src/services/terraclassic/__tests__/pair.test.ts - Place/cancel UI disabled while paused per the banner logic UX honesty invariant L6 properly surfaced to users. Closing.
Brouie (Migrated from gitlab.com) closed this issue 2026-04-20 06:31:30 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-dex-terraclassic#73
No description provided.