Skip to content

Write a testnet reset runbook #341

Description

@Otaiki1

Context

Stellar testnet is reset periodically, which wipes every deployed contract and account. When it
happens, this repo breaks in a specific and confusing way: the contract id in .env no longer
resolves, the live demo link 404s at the contract level, the README's on-chain evidence transactions
vanish, and npm run e2e fails partway.

scripts/e2e.ts already detects resets and prints recovery instructions, and scripts/testnet-health.ts
exists — the knowledge is in the code but not in a document an operator can follow.

Where to build it

  • New file docs/runbook-testnet-reset.md.
  • docs/troubleshooting.md — link it.
  • scripts/e2e.ts — its reset-detection message should point at the runbook.
  • README.md — the on-chain evidence table needs a note that these are testnet artifacts.

What to do

  • Ordered steps: confirm the reset via testnet-health, redeploy the contract, redeploy/repoint the test token, update .env and app/.env, rerun e2e, rebuild and redeploy the app, update the README's contract id and transaction hashes.
  • Note that the app is deployed via the Vercel CLI and is not git-connected, so a redeploy is a manual step with env vars baked at build time.
  • Note which README claims become stale and must be re-verified.
  • Estimate how long the whole thing takes.

Acceptance criteria

  • An operator who has never done it can recover the demo by following the document.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programdocumentationImprovements or additions to documentatione2eEnd-to-end script (scripts/e2e.ts)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions