Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
448 changes: 230 additions & 218 deletions Cargo.lock

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ openvm-transpiler = { git = "https://github.com/han0110/openvm.git", branch = "p
openvm-verify-stark-host = { git = "https://github.com/han0110/openvm.git", branch = "patch/v2.1.0-preview", default-features = false }

# SP1 dependencies
sp1-core-executor = { git = "https://github.com/succinctlabs/sp1", tag = "v6.3.1" }
sp1-cuda = { git = "https://github.com/succinctlabs/sp1", tag = "v6.3.1" }
sp1-hypercube = { git = "https://github.com/succinctlabs/sp1", tag = "v6.3.1" }
sp1-primitives = { git = "https://github.com/succinctlabs/sp1", tag = "v6.3.1" }
sp1-recursion-executor = { git = "https://github.com/succinctlabs/sp1", tag = "v6.3.1" }
sp1-sdk = { git = "https://github.com/succinctlabs/sp1", tag = "v6.3.1" }
sp1-verifier = { git = "https://github.com/succinctlabs/sp1", tag = "v6.3.1" }
sp1-zkvm = { git = "https://github.com/succinctlabs/sp1", tag = "v6.3.1", default-features = false }
sp1-libzkevm = { git = "https://github.com/succinctlabs/sp1", tag = "v6.3.1", package = "libzkevm" }
sp1-core-executor = { git = "https://github.com/succinctlabs/sp1", tag = "v6.4.0" }
sp1-cuda = { git = "https://github.com/succinctlabs/sp1", tag = "v6.4.0" }
sp1-hypercube = { git = "https://github.com/succinctlabs/sp1", tag = "v6.4.0" }
sp1-primitives = { git = "https://github.com/succinctlabs/sp1", tag = "v6.4.0" }
sp1-recursion-executor = { git = "https://github.com/succinctlabs/sp1", tag = "v6.4.0" }
sp1-sdk = { git = "https://github.com/succinctlabs/sp1", tag = "v6.4.0" }
sp1-verifier = { git = "https://github.com/succinctlabs/sp1", tag = "v6.4.0" }
sp1-zkvm = { git = "https://github.com/succinctlabs/sp1", tag = "v6.4.0", default-features = false }
sp1-libzkevm = { git = "https://github.com/succinctlabs/sp1", tag = "v6.4.0", package = "libzkevm" }

# ZisK dependencies
proofman-fields = "1.1.0-alpha"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Different zkVMs handles public values in different approaches:
| zkVM | Version | ISA | GPU | Multi GPU | Cluster |
| ------ | -------------------------------------------------------------------------- | --------- | :---: | :-------: | :-----: |
| OpenVM | [`2.1.0-preview`](https://github.com/openvm-org/openvm/tree/v2.1.0-preview) | `RV64IMA` | V | | |
| SP1 | [`6.3.1`](https://github.com/succinctlabs/sp1/tree/v6.3.1) | `RV64IMA` | V | | |
| SP1 | [`6.4.0`](https://github.com/succinctlabs/sp1/tree/v6.4.0) | `RV64IMA` | V | | |
| ZisK | [`1.1.0-alpha`](https://github.com/0xPolygonHermez/zisk/tree/v1.1.0-alpha) | `RV64IMA` | V | V | V |

## Examples
Expand Down
2 changes: 1 addition & 1 deletion crates/compiler/sp1/src/rust_rv64ima.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const TARGET: RustTarget = RustTarget::SpecJson {
json: include_str!("./rust_rv64ima/riscv64ima-unknown-none-elf.json"),
};

/// According to https://github.com/succinctlabs/sp1/blob/v6.3.1/crates/build/src/command/utils.rs#L68.
/// According to https://github.com/succinctlabs/sp1/blob/v6.4.0/crates/build/src/command/utils.rs#L68.
const RUSTFLAGS: &[&str] = &[
"-C",
"passes=lower-atomic", // Only for rustc > 1.81
Expand Down
2 changes: 1 addition & 1 deletion docker/sp1/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ COPY --chmod=755 scripts/sdk_installers/install_sp1_sdk.sh /tmp/install_sp1_sdk.
# Define where SP1 SDK will be installed within the image.
# The install_sp1_sdk.sh script will respect these ENV variables.
ENV SP1_DIR="/root/.sp1" \
SP1_VERSION="v6.3.1"
SP1_VERSION="v6.4.0"

# Run the SP1 SDK installation script with secret mount
# It will use the SP1_DIR and SP1_VERSION defined above.
Expand Down
4 changes: 2 additions & 2 deletions docs/vk-generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ This guide records the encoding for each supported zkVM and gives the commands t

### Format

32-bytes holding the 8 koalabear field elements of the digest packed as base-2^31 digits of a big-endian integer, which is the form [`HashableKey::bytes32`](https://github.com/succinctlabs/sp1/blob/v6.3.1/crates/hypercube/src/verifier/hashable_key.rs) prints and what `cargo prove vkey` reports.
32-bytes holding the 8 koalabear field elements of the digest packed as base-2^31 digits of a big-endian integer, which is the form [`HashableKey::bytes32`](https://github.com/succinctlabs/sp1/blob/v6.4.0/crates/hypercube/src/verifier/hashable_key.rs) prints and what `cargo prove vkey` reports.

### Instructions

Expand All @@ -100,7 +100,7 @@ This guide records the encoding for each supported zkVM and gives the commands t
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"

ZKVM_VERSION="v6.3.1"
ZKVM_VERSION="v6.4.0"
curl -L https://sp1up.succinct.xyz | bash
export PATH="$HOME/.sp1/bin:$PATH"
sp1up -v "$ZKVM_VERSION"
Expand Down
2 changes: 1 addition & 1 deletion scripts/sdk_installers/install_sp1_sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ curl -L https://sp1up.succinct.xyz | bash
# and for subsequent commands if this script is sourced.
export PATH="${SP1_DIR}/bin:$PATH"

export SP1_VERSION="${SP1_VERSION:-v6.3.1}"
export SP1_VERSION="${SP1_VERSION:-v6.4.0}"

# Run sp1up to install/update the toolchain
if ! command -v sp1up &> /dev/null; then
Expand Down
Loading
Loading