Skip to main content

Zeno Multi-Domain Execution (L1_NATIVE vs. DA_BATCHED), Prover Hardware & Economics

60-Second TL;DR (ZNN-SPEC-PHASE1-v4): Reconciles ZDC-ZP1-HR-001 (H03, H04, H12) and Round-4 WHIR-SHA3-v1 2^-128 QROM Wrapper Parameters (R4-04):

  1. Explicit L1_NATIVE vs. DA_BATCHED Domain Modes (H03 fix): Distinguishes censorship-immune L1 inbox inputs (67–264 L1 blocks/s) from high-throughput off-chain-sequenced rollup batches posting 12 B/tx state diffs to Sentinel 2D AVID DA (10.4M+ TPS DA ceiling) while preserving L1 forced-inclusion escape!
  2. Realistic WHIR-SHA3-v1 Prover Hardware (incl. 32-bit QROM Grinding) & S3 Bounty Escape (H12 + R4-04 fix): Documents concrete proving times (6–18 s on 32c CPU + RTX 4090/5090; 20–45 s on 32–64c CPU; 50–120 s on 16c desktop, including < 0.12 s GPU / ~0.8 s CPU 32-bit Fiat-Shamir grinding) inside a T_2 = 300 s (5 min) S3 escape window, plus RequestForcedExit bounty delegation for light/mobile wallets!

1. Multi-Domain zeno-stf Architecture & Two Inbox Modes (H03 Fix)​

zeno-stf/ (Rust — compiled twice: native Pillar worker + RV64IM zkVM guest)
core/ codec, domain-separated smt-v1 ([0x00]/[0x01]) CompactTree, driver, Runtime trait
runtime-wasm/ wasmi integer WASM Core 1.0 MVP, gas table, host imports (d_wasm)
runtime-zvm/ revm EVM execution (1.0s Momentum v4 integer-second safe! d_zvm)
runtime-accounts/ PQ batch account-abstraction & 26.3x+ signature compression (d_accounts)
runtime-btc/ Bitcoin SHA-256d SPV ChainVerifier + BridgeLedger (d_btc)
worker/ native binary supervised by zeno-executor (Go)
guest/ zkVM guest + 2^16-row WHIR-SHA3-v1 outer wrapper -> emits 57-86 KiB (<=128 KiB) STARK

Explicit Domain Ingestion Modes (H03 Closed)​

ZNN-SPEC-PHASE1-v4 defines two composable ingestion paths on every domain:

Ingestion PathHow User Transactions EnterActive Throughput BoundRole
Path 1: L1_NATIVE Forced / Direct InboxUser submits feeless L1 AccountBlock v2 (Deposit, CallL2, RequestForcedExit) to SettlementContract (#13).67 – 264 L1 inputs/s (Regime 0a)Trustless asset deposits, high-value atomic L1->L2 calls, and unconditional censorship-resistant forced inclusion!
Path 2: DA_BATCHED Sequenced Rollup StreamUsers submit PQ-signed L2 txs directly to the domain's active executor/sequencer; executor posts compressed 12 B/tx state diffs + batch witness commitment to Sentinel 2D AVID DA (CustodyCertProto rank >= 67) and anchors (daBlobRoot, custodyCertDigest) in SubmitBatch.10.4M TPS (1 Gbps DA) to 400M+ TPS (sharded 2D AVID) (prover-gated H04)Everyday DeFi, d_wasm, d_zvm, and 26.3x+-compressed d_accounts PQ transfers at < 1% Sovereign Pi 5 load!

Mandatory Anti-Censorship Coupling: Every SubmitBatch call on a DA_BATCHED domain MUST drain all pending L1_NATIVE inbox items whose MomentumHeight <= currentHeight - MaxForcedInboxDelay (30 Momentums = 30 s), guaranteeing no off-chain sequencer can ever censor a user's L1 CallL2 or RequestForcedExit!


2. Proposer Rotation (S2), Realistic Prover Profile & S3 Bounty Escape (H12 + R4-04 Fix)​

  1. Concrete Pure-SHA3 WHIR-SHA3-v1 Prover Hardware Profile (H12 + R4-04 Verified): Proving SHA3-256 Merkle commitments and ML-DSA-44/FN-DSA-512 signatures inside a zkVM plus the $2^16$-row WHIR-SHA3-v1 outer wrapper (256-bit extension field + 32-bit Fiat-Shamir PoW grinding = ~4.29B parallel SHA3-256 evaluations) establishes three concrete hardware tiers for a 1,000-tx batch (57–86 KiB receipt, <= 128 KiB cap):
    • Tier 1 (Production Executor — 32c EPYC + 1× RTX 4090 / RTX 5090 GPU): ~6 – 18 s wall-clock prove time (including < 0.12 s for 32-bit GPU SHA3-256 grinding; ~55–165 TPS sustained per single consumer GPU; scales linearly across multi-GPU prover pools via parallel chunk recursion).
    • Tier 2 (CPU-Only Pillar Server — 32–64c AVX-512 CPU, 128 GB RAM): ~20 – 45 s wall-clock prove time (including ~0.8 s for 32-bit CPU SHA3-256 grinding).
    • Tier 3 (Self-Sovereign Desktop Escape Prover — 16c Ryzen/Apple M-Max, 64 GB RAM): ~50 – 120 s wall-clock prove time for a minimal single-exit batch (<= 16 forced inputs, including ~1.8 s grinding).
  2. Calibrated Rotation (S2) & Permissionless Escape Hatch (S3):
    • Round-Robin Primary (S2): Primary executor window T_1 = 45 Momentums (45 s, comfortably accommodating Tier 1–2 proving). Proofs bind submitterAddress[20] inside batchOutputDigest against front-running.
    • Active-Executor Fallback (45 s < age <= 300 s): Any registered executor may prove and claim the batch fee.
    • Permissionless S3 Escape (age > T_2 = 300 Momentums = 5 minutes) + RequestForcedExit Bounty (H12 Fix): After 300 s, anyone can submit a valid WHIR-SHA3-v1 proof over D0. Mobile/browser users who do not own a 64 GB desktop prover attach an optional proverBountyZNN to RequestForcedExit, incentivizing any permissionless internet prover to generate and land the <= 128 KiB exit proof on their behalf!

3. Defense-in-Depth Bug Containment (Settlement Core Invariants)​

  1. Per-(domainId, asset) Solvency Conservation:
    ESCROW (ZNN, QSR, ZTS): totalReleased + pendingWithdrawalReserve <= totalDeposited
    MINTED (zBTC): authorizedForeignRelease <= burnedSupply <= provenForeignLocks
  2. Per-Batch Withdrawal & Mint Caps: MaxBatchWithdrawal bounds ZNN/QSR outflows per batch; MaxBatchMint bounds newly minted zBTC per batch.
  3. Mandatory Runtime-Upgrade Exit Window: Any verifying-key rotation (RegisterVerifyingKey) waits MinRuntimeUpgradeDelay (>= 7 epochs = 604,800 1s Momentums), giving dissenting users 7 full days to exit under the existing key.
  4. Post-Quantum Governance (SLH-DSA-SHAKE-128s Multisig): Time-locked PQ multisig; emergency PAUSE_RELAY freezes unverified outflows without touching user state roots.

4. Sustainable Proving & Sentinel DA Economics (M08, H12)​

  • Feeless L1 Submission + In-Domain Proving Credit: L1 Deposit / CallL2 blocks use feeless QSR Plasma; DA_BATCHED batches pay znnPerMiBDaBlob to signing Sentinel 2D AVID custodians (M08) and settle per-cycle proving fees inside the domain (30% burned permanently, 70% paid to submitterAddress).