Skip to content

Commit 459fac7

Browse files
authored
feat: v2.0.0 (#1509)
2 parents 8600d4a + dff8b26 commit 459fac7

70 files changed

Lines changed: 1180 additions & 1947 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/main.yml

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -167,48 +167,3 @@ 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: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,3 +269,47 @@ jobs:
269269
--branch-name "${{ github.head_ref || github.ref_name }}" \
270270
--commit-hash "${{ github.sha }}" \
271271
--author "${{ github.event.pull_request.user.login || github.actor }}"
272+
273+
low-memory:
274+
name: Low Memory
275+
strategy:
276+
matrix:
277+
mem_limit: [16, 32, 64]
278+
runs-on:
279+
[
280+
runs-on,
281+
"ram=${{ matrix.mem_limit}}",
282+
family=c7a,
283+
image=ubuntu22-full-x64,
284+
"run-id=${{ github.run_id }}",
285+
]
286+
env:
287+
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
288+
steps:
289+
- name: Checkout sources
290+
uses: actions/checkout@v4
291+
292+
- name: Setup CI
293+
uses: ./.github/actions/setup
294+
295+
- name: Install SP1 toolchain
296+
run: |
297+
curl -L https://sp1.succinct.xyz | bash
298+
~/.sp1/bin/sp1up
299+
~/.sp1/bin/cargo-prove prove --version
300+
301+
- name: Install SP1 CLI
302+
run: |
303+
cd crates/cli
304+
cargo install --force --locked --path .
305+
cd ~
306+
307+
- name: Run tendermint script
308+
run: |
309+
cd examples/tendermint/program
310+
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/crates/zkvm/entrypoint
311+
cargo prove build
312+
cd ../script
313+
cargo remove sp1-sdk
314+
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
315+
SP1_DEV=1 RUST_LOG=info cargo run --release

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ benchmark.csv
2323

2424
# Build Artifacts
2525
recursion/gnark-ffi/build
26-
prover/build
27-
prover/*.tar.gz
26+
crates/prover/build
27+
crates/prover/data
28+
crates/prover/*.tar.gz

Cargo.lock

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

0 commit comments

Comments
 (0)