The tools

Watchtower & fraud proofs

The watchtower lists every RDK rollup on the testnet, checks whether each latest batch has a matching post-quantum anchor, and audits any batch two ways: the native settlement receipt and ML-DSA-87 verification inside the EVM. A separate module rebuilds a batch's fraud proof from the chain alone. Qorva detects; it has not yet sent a challenge on chain.

The fleet table

/console?view=watchtower (and the landing page's fleet section) shows every rollup returned by x/rdk with its creator, VM, batch count, last batch, whether its challenge window is open, and a PQC anchor status. The data comes from fetchLiveSentinelOverview in src/lib/qore-sentinel-engine.ts through GET /api/sentinel?action=overview, cached for 15 s and shared by all visitors.

Anchor statusHow it is measured
verifiedThe chain's latest anchor for the layer carries the same state root as the latest batch.
unanchoredThe latest anchor carries a different root, or the anchor lookup returned 404.
unknownThe lookup failed for another reason (network, 5xx). Not counted either way.
no-batchesThe rollup has not settled a batch.

The dual-lane audit

Click Audit on a row, or open /console?view=watchtower&rollup=<id>. The view posts { action: "verify-batch", rollupId } to /api/sentinel, which runs verifyRollupBatchOnChain on the rollup's latest batch (the API also accepts a batchIndex).

Lane A: native receipt

buildSettlementReceipt and verifySettlementReceipt from @qorechain/rdk re-read the rollup, the batch, the x/multilayer anchor and the creator's registered ML-DSA-87 key, and report six checks (listed on Settlement receipts).

Lane B: EVM 9800

contracts/QorvaAnchorVerifier.sol runs inside the testnet EVM through a deployless runner: the runner's creation code carries the call, so a single eth_call deploys and executes it in simulation. inspectRollupAnchorAndConsensus reads the creator's key status from precompile 0x0A02, verifies the anchor signature over the canonical v2 sign bytes with 0x0A01, and reads PRISM consensus parameters from 0x0C01.

Verdict

verified is true only when lane A's receipt is valid and 0x0A01 returns valid; the view also shows whether the two lanes agree. Only a missing anchor (an anchor lookup 404, or "no anchor commits batch") produces the unanchored result. Any other failure is returned as an error, never as a finding about the rollup.

For an unanchored batch the audit also computes the batch's v2 transition root, seals an alert with QoreSeal (ML-KEM-1024 + X25519, hybrid mode), and runs submitWatchtowerAlert in the same simulated eth_call.

Independent fraud proofs

src/lib/watchtower.ts rebuilds everything a qledger-v1 fraud proof needs straight from the chain, without trusting anything an operator saved:

  • rebuildBatchContext(rest, rollupId, batchIndex) re-executes every earlier batch and checks each against its stored root, then checks the rebuilt parent against the target's prevStateRoot, folds the inbox accumulator from sequence 0, and checks the batch's entries against its dataHash. It then calls buildQledgerFraudProof.
  • isFraud(rollupId, claim, proof) decides a claim with checkQledgerFraud, the SDK function that mirrors how the chain judges a challenge.
  • fraudUpheldEvents reads rdk_fraud_upheld events, and fetchPostedPayload reads a post back from its transaction and checks it against the chain's data hash.

tests/watchtower-drills.test.ts runs this against a real finalized batch of vigil-pay-1. On 2026-11-30 at 16:23 UTC all 5 tests passed: the honest claim is not fraud, the same claim with one state-root bit flipped is fraud, a forged withdrawals root is fraud, and a proof for a shifted inbox range is refused.