Skip to content

Conversation

@xqft
Copy link
Contributor

@xqft xqft commented Oct 29, 2025

Organizes and updates some older docs

@xqft xqft requested a review from a team as a code owner October 29, 2025 21:03
Copilot AI review requested due to automatic review settings October 29, 2025 21:03
@github-actions github-actions bot added the L2 Rollup client label Oct 29, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces comprehensive documentation for the ethrex prover system, reorganizing and expanding the existing L2 prover documentation. The changes focus on explaining how zero-knowledge proofs are generated for block execution using stateless execution and execution witnesses.

  • Adds new standalone prover documentation explaining stateless execution, execution witnesses, and zkVM integration
  • Reorganizes L2 architecture documentation by extracting detailed prover internals into dedicated files
  • Adds documentation for data availability, execution witnesses, and developer setup instructions

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
docs/prover/prover.md New comprehensive guide explaining prover architecture, stateless execution, and L2-specific checks
docs/prover/guest_program.md New detailed documentation of the guest program execution steps and public inputs/outputs
docs/l2/fundamentals/execution_witness.md New explanation of execution witness creation, MPT proofs, and trie restructuring edge cases
docs/l2/fundamentals/data_availability.md New documentation on state diffs, blob data, and KZG commitments for data availability
docs/l2/architecture/prover.md Simplified to high-level overview with references to detailed prover documentation
docs/l2/architecture/overview.md Streamlined by removing detailed prover explanations now in dedicated files
docs/developers/l2/prover.md New developer guide with setup instructions, GPU configuration, and environment variables
docs/SUMMARY.md Updated with new documentation entries

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@xqft xqft changed the title chore(l2): update docs chore(l2): update prover docs Oct 30, 2025
ETHREX_L2_SP1=true
# Check the if the verification contract is present on your preferred network. Don't define this if you want it to be deployed automatically.
ETHREX_DEPLOYER_SP1_VERIFIER_ADDRESS=<address>
# Set to true if you want proofs to be required
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Set to true if you want proofs to be required
# Set to true if you want RISC0 proofs to be required

Comment on lines +118 to +119
- `make rm-db-l2 && make down`
- `make deploy-l1 && make init-l2` (if running a risc0 prover, see the next step before invoking the L1 contract deployer)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- `make rm-db-l2 && make down`
- `make deploy-l1 && make init-l2` (if running a risc0 prover, see the next step before invoking the L1 contract deployer)
- `make rm-db-l2 down`
- `make deploy-l1 init-l2` (if running a risc0 prover, see the next step before invoking the L1 contract deployer)

- `make rm-db-l2 && make down`
- `make deploy-l1 && make init-l2` (if running a risc0 prover, see the next step before invoking the L1 contract deployer)

- If running with a local L1 (for development), you will need to manually deploy the risc0 contracts by following the instructions [here](https://github.com/risc0/risc0-ethereum/tree/main/contracts/script).
Copy link
Contributor

Choose a reason for hiding this comment

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

We could mention how to deploy the sp1 verifier contract with the deployer

@xqft
Copy link
Contributor Author

xqft commented Oct 31, 2025

We should add more details on the prover's inputs/outputs, what it commits as public values and what remains private, and which computation it does with each value, as this is one of the most critical aspects of the prover (thank you @MauroToscano for the feedback!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

L2 Rollup client

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants