Skip to content

docs: record the redemption queue on testnet - #428

Merged
hpmaxi merged 2 commits into
feedbackfrom
docs/368-redemption-queue
Nov 2, 2026
Merged

hpmaxi merged 2 commits into
feedbackfrom
docs/368-redemption-queue

Conversation

@pragalli

@pragalli pragalli commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #368

The Tranche 2 "Notice-period redemption queue" measure asks for testnet transactions that show the queue working. The README listed deposit, claim shares, redeem request and claim cash, and nothing for a cancel, pricing or a short reserve.

Changes

  • Adds the harness scenario redemption-queue.test.ts and npm run test:queue.
  • send takes a label and prints tx <label> <hash>.
  • Adds a "Redemption queue" section with nine testnet transactions and the command that repeats them.

Deviations

  • The scenario deploys the free reserve first and redeems above what is left. A claim is refused only when the liquid reserve is below that claim, and the vault already holds cash owed to earlier exits.
  • The refused claim leaves no transaction. The README names the pricing and fund transactions as the evidence.
  • Holder-2 runs the whole queue: holder-1 already has a seeded request in the open epoch.
  • Earlier runs stopped on assertions; their repair transactions (three fund, two claims) restored the vault and are not listed.

Acceptance criteria

  • A transaction for each of: request_redeem, cancel_redeem, pricing (the seal and the attestation that price the epoch), claim_redeem, and a redemption left uncovered by a short reserve
  • For the reserve-short step, the transactions that show uncovered() above zero and the fund and claim that clear it
  • Every transaction ran against the contract IDs currently listed in the README
  • The scenario is repeatable from the harness, and the README names the command

Test plan

Automated tests

npm run lint, npm run typecheck and npm run test:unit in scripts/harness.

Manual verification

  1. Open each transaction link in the new section.
  2. Each shows SUCCESS and a contract ID from "Deployed addresses".
  3. On a seeded deployment, run npm run test:queue: 12 tests pass.

Breaking changes

None.

@pragalli
pragalli requested a review from luchobonatti November 2, 2026 19:39
@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
strata-vault-kit-app Ready Ready Preview Nov 2, 2026 8:19pm UTC

Request Review

Request, cancel, price, a claim the reserve cannot cover, fund and claim, on a seeded deployment. The treasury deploys the free reserve first and the redemption is sized above what is left, because a claim is refused only when the liquid reserve is below that claim. send takes a label and prints the transaction hash, so a run can be linked to an explorer.
List one testnet transaction per queue step, from the harness scenario, and the command that repeats it. Closes #368
@pragalli
pragalli force-pushed the docs/368-redemption-queue branch from cef96fd to d2b3820 Compare November 2, 2026 20:18
@pragalli
pragalli changed the base branch from main to feedback November 2, 2026 20:19
@pragalli
pragalli force-pushed the docs/368-redemption-queue branch from d2b3820 to cef96fd Compare November 2, 2026 20:29
@pragalli
pragalli changed the base branch from feedback to main November 2, 2026 20:29
@pragalli
pragalli force-pushed the docs/368-redemption-queue branch from cef96fd to d2b3820 Compare November 2, 2026 20:37
@pragalli
pragalli changed the base branch from main to feedback November 2, 2026 20:37
@hpmaxi
hpmaxi merged commit ac91a85 into feedback Nov 2, 2026
16 checks passed

This branch was successfully deployed

1 active deployment
Preview — d2b38204 Deployed Nov 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Record the redemption queue on testnet

2 participants