Skip to content

Remove using Reth stateless fork & other misc improvements#279

Merged
jsign merged 7 commits intomasterfrom
jsign-imprv
Apr 24, 2026
Merged

Remove using Reth stateless fork & other misc improvements#279
jsign merged 7 commits intomasterfrom
jsign-imprv

Conversation

@jsign
Copy link
Copy Markdown
Collaborator

@jsign jsign commented Apr 23, 2026

Summary

Updates the witness generation stack and improves EEST fixture generation so large fixture sets can be generated more reliably.

Changes

  • Bumps Reth dependencies to v2.1.0, Alloy dependencies to 2.0, and updates ef-tests / stateless to the newer upstream revision.
  • Removes the local jsign/stateless patch override.
  • Refactors EEST fixture loading to filter raw test names before deserializing selected cases.
  • Adds an EEST-specific generate_to_path implementation that streams fixtures to disk instead of retaining every generated fixture in memory.
  • Runs matching EEST cases in parallel and skips cases that fail before producing an executable block witness.
  • Adds test case names to EEST execution errors for easier debugging.
  • Updates raw-input and RPC fixture generation for the dependency API changes.
  • Documents EEST parallelism, skipped-case behaviour, and the updated fixture generation command.
  • Remove block-encoding-length fixture generation
  • Pull ELFs from Tag or Commit from ere-guests instead of maintaining a local hardcoded target.

jsign added 4 commits April 23, 2026 18:36
- Bump versions of `reth-ethereum-primitives`, `reth-rpc-api`, and `reth-chainspec` to v2.1.0 in Cargo.toml.
- Update `ef-tests` and `stateless` dependencies to new revisions.
- Upgrade Alloy dependencies to version 2.0.
- Refactor `witness-generator` to simplify feature flags for `reth-ethereum-primitives`.
- Enhance `eest_generator.rs` by introducing helper functions for loading and filtering tests, improving code readability and maintainability.
- Modify `raw_input_generator.rs` to streamline the reading of chain configuration.
- Update `rpc_generator.rs` to include optional parameters in API calls for better flexibility.
Comment thread README.md

```bash
cargo run -p witness-generator-cli --release -- tests --include 10M --include Prague
EF_TEST_TRIE=default RUST_MIN_STACK=16388608 RUST_LOG=info RAYON_NUM_THREADS=8 cargo run -p witness-generator-cli --release -- tests
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clarifying a bit some env vars that paradigmxyz/stateless still needs. Not nice but at least I can remove now using a fork.

With Kev we are trying to see if we can fill execution witness during EEST benchmark generation -- when that day comes, we can remove basically the whole witness-generator-cli stuff for EEST that requires stateless for "out of band" execution witness generation.

@jsign jsign marked this pull request as ready for review April 24, 2026 13:27
@jsign jsign merged commit 43cb583 into master Apr 24, 2026
5 checks passed
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