Skip to content
LogoLogo

Proof verification benchmarks

Figures below were measured on a private development chain (not a public network). Do not treat them as mainnet gas. Dates are Africa/Dakar (UTC+0). Chain identifiers and how the measurements were taken are kept in the crate's internal development notes, not on this page.

Circuit: sezs_consume_v2, Halo2 IPA on Pasta, K = 11, standard Poseidon P128Pow5T3, Merkle depth 10. Proof bundle v2 is 4,321 bytes (0x02 prefix, then root, N, rk_x, rk_y, and a 4,192-byte proof). Public inputs are root, N, event_id_fp, domain_fp, rk_x, and rk_y. Verifying key hash (sha256 of cs then vk) is 0b34842f8dabd9a347c7998cbf6e7f87a52bc98b8acd4bb449e629f1740eeff6.

On-chain gas

Measured with terpd using --gas auto.

ActionGas usedWhenSource
Store cw_event_manifold wasm3,142,22715 Nov 2026Store of the verifier-wired contract (code id 3)
Instantiate the event contract205,86415 Nov 2026Same deploy
store-full-circuit (zkid 1)11,086,60015 Nov 2026Circuit registration on this chain
UpdateGuestRoot (epoch 5, 2 leaves)162,83215 Nov 2026e2e/ticket-v2-flow.e2e.mjs
UpdateGuestRoot (epoch 8, 6 leaves)162,83316 Nov 2026Same e2e, after hydrating existing leaves
UpdateGuestRoot (epoch 7, 4 leaves)162,83215 Nov 2026Browser walkthrough publish
SetDomain (ASCII door-auth key)148,88215 Nov 2026Domain and door-auth setup
SetDomain as coordinator (same-value write)215,30916 Nov 2026Confirmed the coordinator can write; height 31030, code 0
ConsumeTicket live consent288,35315 Nov 2026Node chain e2e, first green run
ConsumeTicket live consent288,41416 Nov 2026Node chain e2e re-run
ConsumeTicket printed consent286,22715 Nov 2026Node chain e2e, first green run
ConsumeTicket printed consent286,28816 Nov 2026Node chain e2e re-run
Replay of a spent nullifier240,15415 Nov 2026Browser door replay (check-in page). The tx is refused: nullifier already spent

The 16 Nov 2026 browser walkthrough published epoch 9, 6 leaves (tx starting 35457589 and ending 34865A6F9). That run's admit used the printed consent path; the UI reported on-chain admission and then the friendly replay refusal. Exact admit gas for that browser tx was not printed in the UI.

Prove times

EnvironmentTimeWhenSource
Node wasm prover6,959 ms15 Nov 2026e2e/ticket-v2-flow.e2e.mjs
Node wasm prover6,910 ms16 Nov 2026Same e2e re-run
Browser worker2,580 ms15 Nov 2026shots-v9 (Proof ready in 2580 ms)
Browser worker2,574 ms15 Nov 2026later shots-v9 recapture
Browser worker2,588 ms16 Nov 2026shots-v10 (Proof ready in 2588 ms)

The secret never leaves the device during these proves.

What this does not measure

These numbers are from a quiet private chain. They do not include a public fee market, congestion, or a different min-gas-prices. Usher UX on a public chain still needs a measurement on that chain before a real-money event.