Zeno Multi-Domain Execution (L1_NATIVE vs. DA_BATCHED), Prover Hardware & Economics
60-Second TL;DR (
ZNN-SPEC-PHASE1-v4): ReconcilesZDC-ZP1-HR-001(H03, H04, H12) and Round-4WHIR-SHA3-v12^-128QROM Wrapper Parameters (R4-04):
- Explicit
L1_NATIVEvs.DA_BATCHEDDomain Modes (H03fix): Distinguishes censorship-immune L1 inbox inputs (67–264L1 blocks/s) from high-throughput off-chain-sequenced rollup batches posting12 B/txstate diffs to Sentinel2D AVIDDA (10.4M+ TPSDA ceiling) while preserving L1 forced-inclusion escape!- Realistic
WHIR-SHA3-v1Prover Hardware (incl.32-bitQROM Grinding) &S3Bounty Escape (H12+R4-04fix): Documents concrete proving times (6–18 son32cCPU + RTX 4090/5090;20–45 son32–64cCPU;50–120 son16cdesktop, including< 0.12 sGPU /~0.8 sCPU32-bitFiat-Shamir grinding) inside aT_2 = 300 s(5 min)S3escape window, plusRequestForcedExitbounty 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 Path | How User Transactions Enter | Active Throughput Bound | Role |
|---|---|---|---|
Path 1: L1_NATIVE Forced / Direct Inbox | User 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 Stream | Users 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)
- Concrete Pure-
SHA3WHIR-SHA3-v1Prover Hardware Profile (H12+R4-04Verified): ProvingSHA3-256Merkle commitments andML-DSA-44/FN-DSA-512signatures inside azkVMplus the $2^16$-rowWHIR-SHA3-v1outer wrapper (256-bitextension field +32-bitFiat-Shamir PoW grinding =~4.29BparallelSHA3-256evaluations) establishes three concrete hardware tiers for a1,000-tx batch (57–86 KiBreceipt,<= 128 KiBcap):- Tier 1 (Production Executor —
32cEPYC +1×RTX 4090 / RTX 5090 GPU):~6 – 18 swall-clock prove time (including< 0.12 sfor32-bitGPUSHA3-256grinding;~55–165 TPSsustained per single consumer GPU; scales linearly across multi-GPU prover pools via parallel chunk recursion). - Tier 2 (CPU-Only Pillar Server —
32–64cAVX-512 CPU,128 GBRAM):~20 – 45 swall-clock prove time (including~0.8 sfor32-bitCPUSHA3-256grinding). - Tier 3 (Self-Sovereign Desktop Escape Prover —
16cRyzen/Apple M-Max,64 GBRAM):~50 – 120 swall-clock prove time for a minimal single-exit batch (<= 16forced inputs, including~1.8 sgrinding).
- Tier 1 (Production Executor —
- Calibrated Rotation (
S2) & Permissionless Escape Hatch (S3):- Round-Robin Primary (
S2): Primary executor windowT_1 = 45Momentums (45 s, comfortably accommodating Tier 1–2 proving). Proofs bindsubmitterAddress[20]insidebatchOutputDigestagainst front-running. - Active-Executor Fallback (
45 s < age <= 300 s): Any registered executor may prove and claim the batch fee. - Permissionless
S3Escape (age > T_2 = 300Momentums =5 minutes) +RequestForcedExitBounty (H12Fix): After300 s, anyone can submit a validWHIR-SHA3-v1proof overD0. Mobile/browser users who do not own a64 GBdesktop prover attach an optionalproverBountyZNNtoRequestForcedExit, incentivizing any permissionless internet prover to generate and land the<= 128 KiBexit proof on their behalf!
- Round-Robin Primary (
3. Defense-in-Depth Bug Containment (Settlement Core Invariants)
- Per-
(domainId, asset)Solvency Conservation:ESCROW (ZNN, QSR, ZTS): totalReleased + pendingWithdrawalReserve <= totalDepositedMINTED (zBTC): authorizedForeignRelease <= burnedSupply <= provenForeignLocks - Per-Batch Withdrawal & Mint Caps:
MaxBatchWithdrawalboundsZNN/QSRoutflows per batch;MaxBatchMintbounds newly mintedzBTCper batch. - Mandatory Runtime-Upgrade Exit Window: Any verifying-key rotation (
RegisterVerifyingKey) waitsMinRuntimeUpgradeDelay(>= 7epochs =604,8001sMomentums), giving dissenting users7full days to exit under the existing key. - Post-Quantum Governance (
SLH-DSA-SHAKE-128sMultisig): Time-locked PQ multisig; emergencyPAUSE_RELAYfreezes unverified outflows without touching user state roots.
4. Sustainable Proving & Sentinel DA Economics (M08, H12)
- Feeless L1 Submission + In-Domain Proving Credit: L1
Deposit/CallL2blocks use feelessQSRPlasma;DA_BATCHEDbatches payznnPerMiBDaBlobto signing Sentinel2D AVIDcustodians (M08) and settle per-cycle proving fees inside the domain (30%burned permanently,70%paid tosubmitterAddress).