Skip to content

Testnet Acceptance Tests

redshiftzero edited this page Apr 5, 2022 · 2 revisions

This is a draft pre-release test plan for testnet release managers. Please add and edit liberally!

Precondition: node is starting from a clean state

  • pd starts successfully without errors appearing in the logs
  • pd runs through a full epoch without error
  • pcli can sync with the node (cargo run --bin pcli -- -n 127.0.0.1 sync)
  • pcli can list all assets
  • pcli detects all notes from the genesis allocation (cargo run --bin pcli -- -n 127.0.0.1 balance)
  • Can successfully send a transaction (cargo run --bin pcli -- -n 127.0.0.1 tx send 100upenumbra --to penumbrav1….). Expected behavior: 200 OK when transaction is sent, balance updates as expected (i.e. 100 upenumbra) in target wallet
  • Can successfully list validators ( cargo run --bin pcli -- -n 127.0.0.1 stake list-validators)
  • Can successfully delegate (cargo run --bin pcli -- -n 127.0.0.1 stake delegate 10penumbra --to penumbravalid1n…). Expected behavior: 200 OK when transaction is sent, balance updates as expected (i.e. 10delegation_penumbra…)
  • Can successfully undelegate (cargo run --bin pcli -- -n 127.0.0.1 stake undelegate 10delegation_penumbra…). Expected behavior: 200 OK when transaction is sent, balance updates with X pen

Precondition: node is restarting from existing state

  • pd starts up again successfully
  • pcli sync
Clone this wiki locally