A catalog, downloader, and execution harness for release-backed stateless validator guests used with Ere.
The current MSRV (minimum supported Rust version) is 1.93.
This repository republishes checksum-verified guest ELFs and program verification keys from upstream releases. The active guest and zkVM combinations are defined in artifact-registry.json.
Located in crates/, these provide reusable functionality for guest programs and host:
stateless-validator-catalog- Catalog of active validator kinds and registry-derived versionsstateless-validator-common- Canonicalno_stdtests-zkevm v21.0.7 input and output schemasstateless-validator-downloader- Downloads the registered ELFs and VKs and checks their sha256stateless-validator-test- Runs EEST and Sepolia inputs against registry artifacts in dockerized zkVMs
artifact-registry.json registers these guests. Every guest targets tests-zkevm v21.0.7.
| Guest | Catalog ID | Release | Targets Ere | OpenVM v2.1.0-preview |
Pico v3.1.4 |
SP1 v6.9.0 |
ZisK v1.4.0-alpha |
|---|---|---|---|---|---|---|---|
| Ethrex | 0 |
33.0.0 |
v0.20.0 |
✓ | ✓ | ✓ | |
| Reth | 1 |
0.1.0-rc.9 |
v0.20.1 |
✓ | ✓ | ✓ | ✓ |
| Zesu | 2 |
tests@v21.0.7 |
v0.20.2 |
✓ | ✓ | ✓ | |
| Nimbus | 3 |
v0.4.0-alpha |
none | ✓ | ✓ | ||
| Nethermind | 4 |
2.3.0-preview+6 |
v0.20.1 |
✓ | ✓ | ||
| Zilkworm | 5 |
0.1.0-alpha.8 |
v0.19.5 |
✓ |
Notes on the Pico and OpenVM columns:
- Reth's Pico ELF targets Pico
v3.1.4while Ere usesv3.1.5, which keeps the same verification keys. - Zesu's Pico ELF isn't registered: its
read_inputexpects an 8-byte length prefix that Ere doesn't send, so it aborts on every fixture. - Nethermind's OpenVM ELF isn't registered: it targets OpenVM
v2.1.0-rv64while Ere usesv2.1.0-preview, and the release has no OpenVM verification key.
The execution tests run the tests-zkevm v21.0.7 fixtures, and zkvm_execution.rs lists the ones each guest still fails.
The execution tests also run Sepolia batch 12049600-12049699 from the Sepolia catalog. It has the highest mean gas used in the catalog, and its median block uses 187M of the 200M gas limit. Reth rejects two of its blocks. A nightly workflow runs the newest Sepolia batch on every registered guest and writes the failures to its job summary.
A pull request that changes an elf_sha256 in artifact-registry.json triggers the Cost estimation benchmark workflow. The workflow measures the old ELF and the new ELF over the same 20 Sepolia blocks, the last ones of the newest batch. It writes the difference to the job summary and, for a branch of this repository, to a pull request comment. The report is advisory and never fails the pull request. Cost units differ per zkVM.
To measure one ELF locally, pick a batchEndBlock from the batch index and run:
ERE_IMAGE_REGISTRY=ghcr.io/eth-act/ere \
cargo run --release --package stateless-validator-test --bin zkvm_cost_estimation -- \
--stateless-validator ethrex --zkvm openvm --zkvm-version v2.1.0-preview \
--elf-url <url> --elf-sha256 <sha256> \
--batch-end-block <block> --blocks 20 --output cost.jsonFormatting the workspace:
.github/scripts/cargo-fmt-all.shLicensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.