Skip to content

Commit 8600d4a

Browse files
jtguibasmattstamlispcUbuntu4rgon4ut
authored
feat: v1.2.0 official release (#1473)
Co-authored-by: Matt Stam <[email protected]> Co-authored-by: Zhang Zhuo <[email protected]> Co-authored-by: Ubuntu <[email protected]> Co-authored-by: 4rgon4ut <[email protected]> Co-authored-by: Yuwen Zhang <[email protected]> Co-authored-by: puma314 <[email protected]>
1 parent f173699 commit 8600d4a

File tree

30 files changed

+13324
-204
lines changed

30 files changed

+13324
-204
lines changed

.github/workflows/main.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,48 @@ jobs:
167167
cargo remove sp1-sdk
168168
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
169169
SP1_DEV=1 RUST_LOG=info cargo run --release
170+
171+
rsp-low-memory:
172+
name: Example (RSP Low Memory)
173+
strategy:
174+
matrix:
175+
mem_limit: [16, 32, 64]
176+
runs-on:
177+
[
178+
runs-on,
179+
"ram=${{ matrix.mem_limit}}",
180+
family=c7a,
181+
image=ubuntu22-full-x64,
182+
spot=false,
183+
"run-id=${{ github.run_id }}",
184+
]
185+
env:
186+
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
187+
steps:
188+
- name: Checkout sources
189+
uses: actions/checkout@v4
190+
191+
- name: Setup CI
192+
uses: ./.github/actions/setup
193+
194+
- name: Install SP1 toolchain
195+
run: |
196+
curl -L https://sp1.succinct.xyz | bash
197+
~/.sp1/bin/sp1up
198+
~/.sp1/bin/cargo-prove prove --version
199+
200+
- name: Install SP1 CLI
201+
run: |
202+
cd crates/cli
203+
cargo install --force --locked --path .
204+
cd ~
205+
206+
- name: Run script
207+
run: |
208+
cd examples/rsp/program
209+
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/crates/zkvm/entrypoint
210+
cargo prove build
211+
cd ../script
212+
cargo remove sp1-sdk
213+
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
214+
SP1_DEV=1 RUST_LOG=info cargo run --release

.github/workflows/pr.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,12 @@ jobs:
190190
RUSTFLAGS="-Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 -C target-cpu=native" \
191191
cargo check --manifest-path examples/Cargo.toml --all-targets --all-features
192192
193+
- name: Run cargo check on RSP
194+
run: |
195+
cd examples/rsp/script
196+
RUSTFLAGS="-Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 -C target-cpu=native" \
197+
cargo check --all-targets --all-features
198+
193199
cli:
194200
name: CLI
195201
runs-on: [runs-on, runner=8cpu-linux-x64, "run-id=${{ github.run_id }}"]
@@ -247,7 +253,7 @@ jobs:
247253
~/.sp1/bin/sp1up
248254
~/.sp1/bin/cargo-prove prove --version
249255
250-
- name: Build program and run script
256+
- name: Run Evaluation
251257
run: |
252258
cd crates/eval
253259
RUSTFLAGS='-C target-cpu=native' cargo run --release -- \
@@ -260,7 +266,6 @@ jobs:
260266
--repo-owner "${{ github.repository_owner }}" \
261267
--repo-name "${{ github.event.repository.name }}" \
262268
--pr-number "${{ github.event.pull_request.number }}" \
263-
--pr-name "${{ github.event.pull_request.title }}" \
264269
--branch-name "${{ github.head_ref || github.ref_name }}" \
265270
--commit-hash "${{ github.sha }}" \
266271
--author "${{ github.event.pull_request.user.login || github.actor }}"

Cargo.lock

Lines changed: 29 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace.package]
2-
version = "1.2.0-rc2"
2+
version = "1.2.0"
33
edition = "2021"
44
license = "MIT OR Apache-2.0"
55
repository = "https://github.com/succinctlabs/sp1"
@@ -48,28 +48,28 @@ debug-assertions = true
4848

4949
[workspace.dependencies]
5050
# sp1
51-
sp1-build = { path = "crates/build", version = "1.2.0-rc2" }
52-
sp1-cli = { path = "crates/cli", version = "1.2.0-rc2", default-features = false }
53-
sp1-core-machine = { path = "crates/core/machine", version = "1.2.0-rc2" }
54-
sp1-core-executor = { path = "crates/core/executor", version = "1.2.0-rc2" }
55-
sp1-curves = { path = "crates/curves", version = "1.2.0-rc2" }
56-
sp1-derive = { path = "crates/derive", version = "1.2.0-rc2" }
57-
sp1-eval = { path = "crates/eval", version = "1.2.0-rc2" }
58-
sp1-helper = { path = "crates/helper", version = "1.2.0-rc2", default-features = false }
59-
sp1-primitives = { path = "crates/primitives", version = "1.2.0-rc2" }
60-
sp1-prover = { path = "crates/prover", version = "1.2.0-rc2" }
61-
sp1-recursion-compiler = { path = "crates/recursion/compiler", version = "1.2.0-rc2" }
62-
sp1-recursion-core = { path = "crates/recursion/core", version = "1.2.0-rc2", default-features = false }
63-
sp1-recursion-core-v2 = { path = "crates/recursion/core-v2", version = "1.2.0-rc2", default-features = false }
64-
sp1-recursion-derive = { path = "crates/recursion/derive", version = "1.2.0-rc2", default-features = false }
65-
sp1-recursion-gnark-ffi = { path = "crates/recursion/gnark-ffi", version = "1.2.0-rc2", default-features = false }
66-
sp1-recursion-program = { path = "crates/recursion/program", version = "1.2.0-rc2", default-features = false }
67-
sp1-recursion-circuit = { path = "crates/recursion/circuit", version = "1.2.0-rc2", default-features = false }
68-
sp1-sdk = { path = "crates/sdk", version = "1.2.0-rc2" }
69-
sp1-cuda = { path = "crates/cuda", version = "1.2.0-rc2" }
70-
sp1-stark = { path = "crates/stark", version = "1.2.0-rc2" }
71-
sp1-lib = { path = "crates/zkvm/lib", version = "1.2.0-rc2", default-features = false }
72-
sp1-zkvm = { path = "crates/zkvm/entrypoint", version = "1.2.0-rc2", default-features = false }
51+
sp1-build = { path = "crates/build", version = "1.2.0" }
52+
sp1-cli = { path = "crates/cli", version = "1.2.0", default-features = false }
53+
sp1-core-machine = { path = "crates/core/machine", version = "1.2.0" }
54+
sp1-core-executor = { path = "crates/core/executor", version = "1.2.0" }
55+
sp1-curves = { path = "crates/curves", version = "1.2.0" }
56+
sp1-derive = { path = "crates/derive", version = "1.2.0" }
57+
sp1-eval = { path = "crates/eval", version = "1.2.0" }
58+
sp1-helper = { path = "crates/helper", version = "1.2.0", default-features = false }
59+
sp1-primitives = { path = "crates/primitives", version = "1.2.0" }
60+
sp1-prover = { path = "crates/prover", version = "1.2.0" }
61+
sp1-recursion-compiler = { path = "crates/recursion/compiler", version = "1.2.0" }
62+
sp1-recursion-core = { path = "crates/recursion/core", version = "1.2.0", default-features = false }
63+
sp1-recursion-core-v2 = { path = "crates/recursion/core-v2", version = "1.2.0", default-features = false }
64+
sp1-recursion-derive = { path = "crates/recursion/derive", version = "1.2.0", default-features = false }
65+
sp1-recursion-gnark-ffi = { path = "crates/recursion/gnark-ffi", version = "1.2.0", default-features = false }
66+
sp1-recursion-program = { path = "crates/recursion/program", version = "1.2.0", default-features = false }
67+
sp1-recursion-circuit = { path = "crates/recursion/circuit", version = "1.2.0", default-features = false }
68+
sp1-sdk = { path = "crates/sdk", version = "1.2.0" }
69+
sp1-cuda = { path = "crates/cuda", version = "1.2.0" }
70+
sp1-stark = { path = "crates/stark", version = "1.2.0" }
71+
sp1-lib = { path = "crates/zkvm/lib", version = "1.2.0", default-features = false }
72+
sp1-zkvm = { path = "crates/zkvm/entrypoint", version = "1.2.0", default-features = false }
7373

7474
# p3
7575
p3-air = "0.1.3-succinct"

crates/build/src/build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ pub fn execute_build_program(
3535
// Get the program metadata.
3636
let program_metadata_file = program_dir.join("Cargo.toml");
3737
let mut program_metadata_cmd = cargo_metadata::MetadataCommand::new();
38-
let program_metadata =
39-
program_metadata_cmd.manifest_path(program_metadata_file).exec().unwrap();
38+
let program_metadata = program_metadata_cmd.manifest_path(program_metadata_file).exec()?;
4039

4140
// Get the command corresponding to Docker or local build.
4241
let cmd = if args.docker {

crates/cli/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.2.1](https://github.com/succinctlabs/sp1/compare/sp1-cli-v1.2.0...sp1-cli-v1.2.1) - 2024-09-04
11+
12+
### Other
13+
- update Cargo.lock dependencies
14+
1015
## [1.2.0-rc2](https://github.com/succinctlabs/sp1/compare/sp1-cli-v1.2.0-rc1...sp1-cli-v1.2.0-rc2) - 2024-08-29
1116

1217
### Other

0 commit comments

Comments
 (0)