Skip to content

feat(stateless): add zkVM crypto provider - #33

Closed
figtracer wants to merge 1 commit into
mainfrom
fig/zkvm-crypto-provider
Closed

feat(stateless): add zkVM crypto provider#33
figtracer wants to merge 1 commit into
mainfrom
fig/zkvm-crypto-provider

Conversation

@figtracer

Copy link
Copy Markdown
Collaborator

Summary

Adds the standard zkVM-backed revm Crypto and Alloy CryptoProvider implementation currently maintained in ere-guests to stateless behind an optional zkvm-interface feature.

The feature is disabled by default and preserves the existing ERE implementation. SP1-specific caches and MODEXP fast paths are intentionally out of scope for this ownership change.

Consumer proof

Replaced the duplicate provider in an ERE v0.13.0 worktree and compiled both complete Reth guest workspaces:

  • stateless-validator-reth-sp1
  • stateless-validator-reth-zisk

Checks

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test --workspace
  • cargo test -p stateless --features zkvm-interface --lib --no-run
  • ./scripts/check_no_std.sh
  • RISC-V no_std build with --features zkvm-interface
  • stateless docs with warnings denied

@figtracer figtracer closed this Jul 31, 2026
@figtracer
figtracer deleted the fig/zkvm-crypto-provider branch July 31, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant