Skip to content

feat: add tutorial smoke test script#411

Open
ygd58 wants to merge 2 commits intologos-blockchain:mainfrom
ygd58:feat/tutorial-smoke-test
Open

feat: add tutorial smoke test script#411
ygd58 wants to merge 2 commits intologos-blockchain:mainfrom
ygd58:feat/tutorial-smoke-test

Conversation

@ygd58
Copy link
Copy Markdown
Contributor

@ygd58 ygd58 commented Mar 26, 2026

Summary

Refs #213.

Adds scripts/tutorial-smoke-test.sh that validates the README wallet
quickstart flow end-to-end to catch when the tutorial deviates from main.

What it tests

  1. wallet check-health
  2. wallet account new public
  3. wallet account get (verify uninitialized)
  4. wallet auth-transfer init
  5. wallet pinata claim (faucet)
  6. wallet account get (verify balance > 0)
  7. wallet auth-transfer send (to new account)

Usage

# Start sequencer first
RISC0_DEV_MODE=1 cargo run --features standalone -p sequencer_service \
  sequencer/service/configs/debug/sequencer_config.json &

# Run smoke test
RISC0_DEV_MODE=1 bash scripts/tutorial-smoke-test.sh

Notes

  • Script is self-contained: creates a temp wallet home and cleans up on exit
  • CI integration is a follow-up (requires sequencer service in workflow)

Refs #213

Add scripts/tutorial-smoke-test.sh that validates the README wallet
quickstart flow end-to-end:

  1. wallet check-health
  2. wallet account new public
  3. wallet account get (verify uninitialized)
  4. wallet auth-transfer init
  5. wallet pinata claim (faucet)
  6. wallet account get (verify balance > 0)
  7. wallet auth-transfer send (to new account)

Run with:
  RISC0_DEV_MODE=1 bash scripts/tutorial-smoke-test.sh

Refs logos-blockchain#213
@ygd58
Copy link
Copy Markdown
Contributor Author

ygd58 commented Mar 28, 2026

This PR also addresses #213 — adds a smoke test script that catches when the tutorial deviates from main.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants