feat(guest): publish Reth stateless validator ELFs - #36
Draft
figtracer wants to merge 12 commits into
Draft
Conversation
…lamsterdam-devnet-7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #35.
Upstreams the canonical Reth stateless validator guest and execution-spec SSZ contract into
paradigmxyz/stateless. The guest consumesstatelessInputBytesunchanged, validates through Reth with the Zeth sparse trie, and emitsstatelessOutputBytes.Adds locked entrypoints for OpenVM
v2.0.0, SP1v6.3.1, and ZisKv1.0.0-alpha, plus public CI that builds, key-generates, checksums, attests, and publishes the final.elfand.vkassets fromv*tags. The sharedzkvm-interfaceCrypto/CryptoProviderimplementation now lives instateless, while the regular host API continues to use Reth's sparse trie by default.Validation
tests-zkevm@v0.6.2: completed with the same 17 known Reth divergences tracked by the currentere-guestsintegration..elfand.vkwas byte-for-byte identical across the two machines.statelessOutputBytes.cargo clippy --workspace --all-targets --all-features -- -D warningscargo test --workspace --exclude ef-tests --exclude stateless-validator-testsno_stdconfigurations inscripts/check_no_std.shv2.0.0e2049a17c751a4c91fe979985864fa38805541917d1f855d57d2b00566413409v6.3.10f274cff9d0c4676f9c28d11e151f4351dce4cb5caf89223884494e715f93fe3v1.0.0-alpha42732b93fe877743089d2734c2a3a35e5029616f4c234db2a388d20505902e31