Skip to content

About

No description, website, or topics provided.

Resources

Stars

8 stars

Watchers

2 watching

Forks

Repository files navigation

Ere Guests

A catalog, downloader, and execution harness for release-backed stateless validator guests used with Ere.

Table of Contents

Supported Rust Versions (MSRV)

The current MSRV (minimum supported Rust version) is 1.93.

Overview

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.

Repository Structure

Workspace Crates

Located in crates/, these provide reusable functionality for guest programs and host:

Guest Artifacts

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.4 while Ere uses v3.1.5, which keeps the same verification keys.
  • Zesu's Pico ELF isn't registered: its read_input expects 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-rv64 while Ere uses v2.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.

Estimated Guest Cost

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.json

Development

Formatting

Formatting the workspace:

.github/scripts/cargo-fmt-all.sh

License

Licensed under either of:

at your option.

About

No description, website, or topics provided.

Resources

Stars

8 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages