Skip to content

chore(l2): bump sp1 version to 4.1.7 #2610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main_prover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
. "$HOME/.cargo/env"
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up --version 4.1.0
~/.sp1/bin/sp1up --version 4.1.7

- name: Set up Docker Buildx
if: ${{ always() && github.event_name == 'merge_group' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-main_l2_prover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: RISC-V SP1 toolchain install
run: |
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up --version 4.1.0
~/.sp1/bin/sp1up --version 4.1.7
- name: Check sp1
run: |
cargo check -p ethrex-prover -F sp1
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
- name: RISC-V SP1 toolchain install
run: |
curl -L https://sp1.succinct.xyz | bash
~/.sp1/bin/sp1up --version 4.1.0
~/.sp1/bin/sp1up --version 4.1.7
- name: Build prover and SP1's zkVM
run: |
cd crates/l2/prover
Expand Down
2 changes: 1 addition & 1 deletion crates/l2/docs/prover.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ sequenceDiagram
2. `rzup install cargo-risczero 1.2.0`
- [SP1](https://docs.succinct.xyz/docs/sp1/introduction)
1. `curl -L https://sp1up.succinct.xyz | bash`
2. `sp1up --version 4.1.0`
2. `sp1up --version 4.1.7`
- [Pico](https://docs.brevis.network/)
1. `cargo +nightly install --git https://github.com/brevis-network/pico pico-cli`
2. `rustup install nightly-2024-11-27`
Expand Down
4 changes: 2 additions & 2 deletions crates/l2/prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ zkvm_interface = { path = "./zkvm/interface", default-features = false }
risc0-zkvm = { version = "1.2.2", optional = true }
risc0-ethereum-contracts = { version = "1.3.1", optional = true }

sp1-sdk = { version = "4.1.1", optional = true }
sp1-recursion-gnark-ffi = { version = "4.1.1", optional = true }
sp1-sdk = { version = "4.1.7", optional = true }
sp1-recursion-gnark-ffi = { version = "4.1.7", optional = true }
pico-sdk = { git = "https://github.com/brevis-network/pico", optional = true, rev = "286feb9878d9e09347852e5bf127b8ff81a2b45c" }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/l2/prover/bench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Usage

1. For now we only support SP1. Install their [toolchain](https://docs.succinct.xyz/docs/sp1/introduction) first.
1. For now we only support SP1. Install their [toolchain](https://docs.succinct.xyz/docs/sp1/introduction) first (version 4.1.7).
2. Run:
1. `make sp1 RPC_URL=<json rpc url> BLOCK_NUMBER=<number, optional>` for execution without proving
2. `make prove-sp1 RPC_URL=<json rpc url> BLOCK_NUMBER=<number, optional>` for generating a proof.
Expand Down
2 changes: 1 addition & 1 deletion crates/l2/prover/zkvm/interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ethrex-trie = { path = "../../../../common/trie", default-features = false }

[build-dependencies]
risc0-build = { version = "1.2.2", optional = true }
sp1-build = { version = "4.1.1", optional = true }
sp1-build = { version = "4.1.7", optional = true }
pico-cli = { git = "https://github.com/brevis-network/pico", optional = true }

[package.metadata.risc0]
Expand Down
2 changes: 1 addition & 1 deletion crates/l2/prover/zkvm/interface/sp1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[workspace]

[dependencies]
sp1-zkvm = "4.1.0"
sp1-zkvm = "4.1.7"
zkvm_interface = { path = "../" }

ethrex-common = { path = "../../../../../common", default-features = false }
Expand Down
Loading