risc0 / zeth

A "Type 0" zkEVM. Prove validity of Ethereum blocks using RISC Zero's zkVM
Apache License 2.0
382 stars 68 forks source link

Build blocks using Reth 1.1.0 #115

Open hashcashier opened 3 weeks ago

hashcashier commented 3 weeks ago

This PR migrates zeth from directly using revm to using reth for building blocks. This allows zeth to support all forks supported by reth. The changes are an overhaul of many of zeth's internal components and project structure. Notably, because of Cargo's feature unification, and reth's dependence on feature flags for enabling/disabling OP functionality, two separate zeth binaries are now necessary.

The project has been restructured into the following crates:

Functionality changes:

Note: v1.81 of the toolchain is required:

rzup update

Note: Separate binaries must be built individually

cargo build -p zeth-ethereum --bin zeth-ethereum
cargo build -p zeth-optimism --bin zeth-optimism

Issues affected:

pdg744 commented 2 weeks ago

@hashcashier @SchmErik iiuc v1.81 toolchain should now be ready to use!