Skip to content
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

chore(l2): bump up sp1 version #1734

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

fborello-lambda
Copy link
Contributor

@fborello-lambda fborello-lambda commented Jan 16, 2025

Caution

Didn't test it out thoroughly, just used the perf-sp1 target from crates/l2/prover. This change may break some things.

Note

To use it locally, the latest version has to be installed. The following command can be used.
sp1up --version 4.0.0

Useful docs → sp1-v4-migration-guide

Motivation

SP1 version was updated, we should bump it up to the latest

Description

Use version 4.0.0 and update the other dependencies.

A test is failing:

// TODO THIS TEST IS FAILING

The test saves proofs on disk to keep track of them, but it panics due to an SP1's internal unwrap

@fborello-lambda fborello-lambda self-assigned this Jan 16, 2025
@fborello-lambda fborello-lambda changed the title chore: bump up sp1 version chore(l2): bump up sp1 version Jan 16, 2025
Copy link

github-actions bot commented Jan 16, 2025

| File                                                                     | Lines | Diff |
+--------------------------------------------------------------------------+-------+------+
| /home/runner/work/ethrex/ethrex/crates/l2/prover/zkvm/interface/build.rs | 15    | +7   |
+--------------------------------------------------------------------------+-------+------+
| /home/runner/work/ethrex/ethrex/crates/l2/utils/prover/save_state.rs     | 427   | -9   |
+--------------------------------------------------------------------------+-------+------+
| /home/runner/work/ethrex/ethrex/crates/vm/levm/src/precompiles.rs        | 1200  | +20  |
+--------------------------------------------------------------------------+-------+------+

Total lines added: +27
Total lines removed: 9
Total lines changed: 36

github-merge-queue bot pushed a commit that referenced this pull request Jan 17, 2025
**Motivation**

The CI is failing because we are downloading the latest version of sp1
(`4.0.0`), bumping up the version implies some changes and further
testing.

**Description**

Momentary solution: 
- download past version.

Linked to #1734
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant