Rivellum

Rivellum Portal

Download Wallet (Chrome)
Checking...
testnet

Testing Reference

Deterministic test matrix for Rivellum dapps.

Test Layers

LayerTargetTooling
Contract static checkssyntax + safetymistc check, mistc lint
Contract execution testsbusiness invariantsmistc test
Replay determinismforensic reproducibilitymistc replay, replay inputs
API integrationsubmit/read correctnesscurl + SDK integration tests
Indexer convergenceidempotent state rebuildevents/query + checkpoint replay

Contract CI Block

mistc check contracts/*.mist
mistc lint contracts/*.mist
mistc test contracts/*.mist

Replay Regression Block

mistc receipt RECEIPT_ID --rpc https://rpc.rivellum.network
mistc replay RECEIPT_ID --rpc https://rpc.rivellum.network
curl https://rpc.rivellum.network/v1/mist/replay_inputs/RECEIPT_ID

API Integration Block

curl -X POST https://rpc.rivellum.network/v1/submit \
  -H "Content-Type: application/json" \
  -d @intent.json

curl https://rpc.rivellum.network/v1/balance/0xADDRESS
curl "https://rpc.rivellum.network/v1/events/query?limit=100"

Determinism Assertions

  1. same replay input => same terminal status
  2. event reducer replay => same materialized state
  3. fee envelope stable for fixed call shape
  4. receipt and pvi always retrievable for sampled calls

Failure Taxonomy Assertions

ClassAssertion
admission rejectreason code emitted
contract rejectreceipt status + reason emitted
policy rejectdeterministic policy code emitted
infra failureretry/recover path verified

Release Gate

  • all contract checks pass
  • replay regression set passes
  • API integration suite passes
  • indexer checkpoint restore passes
  • rollback rehearsal performed

Related References

  • /docs/dev/debugging-replay
  • /docs/dev/production-operations
  • /docs/ops/disaster-recovery