Skip to content

Commit

Permalink
update sp1 to 2.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: smtmfft <[email protected]>
  • Loading branch information
smtmfft committed Sep 14, 2024
1 parent b8a19a0 commit c4c25ac
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 41 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

### Bug Fixes

* **bonsai:** handle error unwraping gracefully ([#339](https://github.com/taikoxyz/raiko/issues/339)) ([f396354](https://github.com/taikoxyz/raiko/commit/f396354566e62d53df88d60e7cc456e5f0fbc4cf))
* **bonsai:** handle error unwrapping gracefully ([#339](https://github.com/taikoxyz/raiko/issues/339)) ([f396354](https://github.com/taikoxyz/raiko/commit/f396354566e62d53df88d60e7cc456e5f0fbc4cf))
* **host:** add guest request count and make concurrent request decrementation more ergonomic ([#261](https://github.com/taikoxyz/raiko/issues/261)) ([d660a17](https://github.com/taikoxyz/raiko/commit/d660a17c9fef9ce9fa58558a4d3da115d134dad6))
* **host:** ignore `no id found` error for cancellation ([#330](https://github.com/taikoxyz/raiko/issues/330)) ([048df9f](https://github.com/taikoxyz/raiko/commit/048df9f840ea40742f3e14106c9352b835b11628))
* **lib,provers,tasks:** move from sync to async trait ([#328](https://github.com/taikoxyz/raiko/issues/328)) ([36a5614](https://github.com/taikoxyz/raiko/commit/36a56145b25c3b18fbcd3af5b1f2ab71b521cba3))
Expand Down
113 changes: 79 additions & 34 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 @@ -59,9 +59,9 @@ risc0-build = { version = "1.0.1" }
risc0-binfmt = { version = "1.0.1" }

# SP1
sp1-sdk = { git = "https://github.com/succinctlabs/sp1", branch = "dev" }
sp1-zkvm = { git = "https://github.com/succinctlabs/sp1", branch = "dev" }
sp1-helper = { git = "https://github.com/succinctlabs/sp1", branch = "dev" }
sp1-sdk = { version = "2.0.0" }
sp1-zkvm = { version = "2.0.0" }
sp1-helper = { version = "2.0.0" }

# alloy
alloy-rlp = { version = "0.3.4", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion lib/src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ mod tests {
.unwrap();
assert_eq!(
verifier_address,
address!("f6d620d0b2a2bb9d11066e8532efb72588cae6d9")
address!("532efbf6d62720d0b2a2bb9d11066e8588cae6d9")
);
}

Expand Down
2 changes: 1 addition & 1 deletion provers/risc0/driver/src/methods/risc0_guest.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pub const RISC0_GUEST_ELF: &[u8] =
include_bytes!("../../../guest/target/riscv32im-risc0-zkvm-elf/release/risc0-guest");
pub const RISC0_GUEST_ID: [u32; 8] = [
120620766, 3895849966, 3454466213, 2248933936, 2068139275, 3561387734, 3426824243, 3764143,
2724640415, 1388818056, 2370444677, 1329173777, 2657825669, 1524407056, 1629931902, 314750851,
];
Binary file modified provers/sp1/guest/elf/sp1-guest
Binary file not shown.
2 changes: 1 addition & 1 deletion script/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if [ -z "$1" ] || [ "$1" == "risc0" ]; then
PROFILE=$HOME/.bashrc
echo ${PROFILE}
source ${PROFILE}
rzup -v 1.0.1
rzup install
else
echo "/home/runner/.config/.risc0/bin" >> $GITHUB_PATH
echo $GITHUB_PATH
Expand Down

0 comments on commit c4c25ac

Please sign in to comment.