Skip to content

Commit

Permalink
upgrade sp1 to 3.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: smtmfft <[email protected]>
  • Loading branch information
smtmfft committed Nov 7, 2024
1 parent 93ab364 commit 775257f
Show file tree
Hide file tree
Showing 8 changed files with 309 additions and 318 deletions.
75 changes: 33 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ bonsai-sdk = { version = "=1.1.2" }
risc0-binfmt = { version = "=1.1.2" }

# SP1
sp1-sdk = { version = "=3.0.0-rc3" }
sp1-zkvm = { version = "2.0.0" }
sp1-helper = { version = "2.0.0" }
sp1-sdk = { version = "=3.0.0" }
sp1-zkvm = { version = "=3.0.0" }
sp1-helper = { version = "=3.0.0" }

# alloy
alloy-rlp = { version = "0.3.4", default-features = false }
Expand Down
5 changes: 1 addition & 4 deletions provers/sp1/driver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,7 @@ impl Prover for Sp1Prover {
output.header.number
);
network_prover
.wait_proof::<sp1_sdk::SP1ProofWithPublicValues>(
&proof_id,
Some(Duration::from_secs(3600)),
)
.wait_proof(&proof_id, Some(Duration::from_secs(3600)))
.await
.map_err(|e| ProverError::GuestError(format!("Sp1: network proof failed {e:?}")))?
};
Expand Down
Loading

0 comments on commit 775257f

Please sign in to comment.