github ethereum-optimism/optimism kona-sp1-program/v1.0.0
kona-sp1-program v1.0.0

latest release: op-zk-proposer/v1.0.0
one hour ago

Overview

Important

This is the first release of kona-sp1-program, the SP1 zkVM programs that prove super roots for super-root ZK dispute games (game type 10). It is released together with op-zk-proposer v1.0.0, which collects the witnesses these programs execute and requests their proofs; run the two together.

Programs

  • log-commitment commits to the logs under each block's receipts root, so that interop message checks can open a log without loading the block's receipts.
  • super-range proves a range of super-root transitions over the chains in the dependency set, and consolidates them. It verifies log-commitment proofs and pins that program's vkey.
  • super-aggregation recursively verifies super-range proofs and commits the public values that ZKDisputeGame checks. It pins the super-range vkey, so its own vkey identifies the whole set of programs. That vkey is the absolute prestate of the dispute game.

The programs are built for SP1 6.10. Their proofs are wrapped in SP1's v6.1.0 PLONK circuit and verified onchain, so a dispute game must use the verifier for that circuit.

Chains

The programs read chain configurations only from the registry compiled into them. They reject a chain without an embedded rollup config, L1 config and matching dependency set. The published programs embed the standard registry, so a chain that is not in it needs its own build with KONA_CUSTOM_CONFIGS_DIR. Such a build has its own vkeys, which never match the published ones.

Reproducing the build

The release is reproducible: just build-elfs in rust/kona/sp1, on linux/amd64 at this tag, rebuilds the published programs with the same vkeys. Every program embeds the commit it was built from, so any release on a new commit has new vkeys, even when no program code changed, and the dispute game's prestate must be updated to match.

Source: https://github.com/ethereum-optimism/optimism/tree/kona-sp1-program/v1.0.0/rust/kona/sp1

📦 Prestate artifacts:

Don't miss a new optimism release

NewReleases is sending notifications on new releases.