Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: v1.2.0-rc1 #1389

Merged
merged 172 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
61f4114
feat: recursion circuit (wip) (#992)
tqn Jul 1, 2024
2a5adba
feat: make `AddressValue.value` a `Block` (#998)
tqn Jul 1, 2024
c014481
chore: add fast tests to experimental branch (#1009)
erabinov Jul 2, 2024
c1fe80b
refactor: unify `AddressValue`, put send and receive on builder (#1010)
tqn Jul 2, 2024
ead4527
feat: extension field alu (#1014)
tqn Jul 2, 2024
d3f2eb2
fix: remove extra `try_inverse` in #1014 (#1016)
tqn Jul 2, 2024
1412986
feat: runtime, instructions, and preprocessing (#1036)
tqn Jul 6, 2024
118de5d
feat: basic re-factor for recursion circuit, Poseidon2-wide table (#1…
erabinov Jul 10, 2024
ae1bbc1
feat: basic ir circuit compiler (#1072)
tqn Jul 10, 2024
ababfaf
feat: exp_reverse_bits_precompile in core_v2 (#1079)
erabinov Jul 11, 2024
d63f322
feat: support poseidon2 permute core-v2 instruction in ir (#1084)
tqn Jul 11, 2024
145a45a
fix: placeholder branch for `ExpReverseBitsLen` in new `AsmCompiler` …
tqn Jul 11, 2024
5f6d8a9
fix: more complete preprocessed trace generation for poseidon2 (#1094)
erabinov Jul 12, 2024
7dccf9b
feat: circuit-based fri-fold precompile (#1090)
erabinov Jul 12, 2024
f473fe4
feat: exp reverse bits in ir (#1093)
tqn Jul 12, 2024
bc7c569
test: exp reverse bits, repeat test for poseidon and hint bits (#1097)
tqn Jul 12, 2024
b23d13a
Merge branch 'dev' into tqn/merge-dev-into-experimental
tqn Jul 12, 2024
9d7ae29
Merge branch 'dev' into experimental (#1098)
tqn Jul 12, 2024
dc258f6
feat: poseidon2 wide in circuit language (#1096)
erabinov Jul 15, 2024
caee177
feat: fri fold in ir (#1108)
tqn Jul 15, 2024
7b95b64
Merge branch 'dev' into tqn/merge-dev-into-experimental
tqn Jul 22, 2024
bc7219e
Merge branch 'dev' into experimental (#1148)
tqn Jul 22, 2024
46aedf0
feat: support for poseidon2 in the ir (#1111)
erabinov Jul 22, 2024
df774ac
test: rough bench of `compress` with dummy circuit (#1141)
tqn Jul 22, 2024
9430287
fix: resolve conflicting poseidon2 variants in ir (#1150)
tqn Jul 22, 2024
9c234f0
feat: print instructions in ir and runtime (#1162)
tqn Jul 23, 2024
f19a385
feat: verifier program challenger (#1166)
tqn Jul 23, 2024
582f7cd
perf: Remove results columns in alu_base table (#1167)
kevjue Jul 24, 2024
9dfcc91
feat: poseidon hash and compress in ir builder trait (#1171)
tqn Jul 24, 2024
3a93cf4
feat: plonk profiling test for recursion circuit (#1110)
erabinov Jul 24, 2024
826d8fa
feat: ext2felts instruction (#1172)
tqn Jul 25, 2024
f5b63f2
feat: recursion circuit fri fold air constraints (#1169)
kevjue Jul 25, 2024
a82fdb7
feat: recursion circuit exp reverse bits constraints (#1173)
kevjue Jul 25, 2024
8f44f5c
chore: created chips directory in recursion core-v2 (#1181)
kevjue Jul 25, 2024
7b00f6a
feat: tracing and runtime errors (#1187)
tqn Jul 26, 2024
3b6eb91
feat: verifier circuit `verify_challenges` and `verify_two_adic_pcs` …
tqn Aug 1, 2024
70719ba
feat: cycle tracker spans for `build_wrap_circuit` and v2 circuit (#1…
tqn Aug 2, 2024
817d62b
feat: recursion circuit p2 wide constraints (#1205)
kevjue Aug 2, 2024
8fd7883
Merge branch 'dev' into tqn/merge-dev-into-experimental
tqn Aug 2, 2024
caf5d65
Merge branch 'dev' into experimental (#1161)
tqn Aug 2, 2024
70a890e
perf: remove `read_mult` column, instead use negative `write_mult` (#…
tqn Aug 5, 2024
4dd7f26
chore: main to dev (#1266)
mattstam Aug 6, 2024
351c2dc
chore: update dependencies to v1.1.1 (#1267)
mattstam Aug 6, 2024
668d55d
feat: smaller runtime checkpoints (#1254)
ctian1 Aug 6, 2024
a77d279
feat: constant memory init table (#1251)
tqn Aug 7, 2024
a36a711
feat: witness input for v2 recursion (#1255)
tqn Aug 7, 2024
e560929
fix: Copy `sp1-helper` binary build (#1279)
ratankaliani Aug 7, 2024
bfe9784
feat: add cycle tracker report (#1275)
ratankaliani Aug 7, 2024
bed5c3d
feat: recursion circuit public values chip (#1183)
kevjue Aug 7, 2024
4525a50
typechecks
tqn Aug 8, 2024
d66664f
feat: fptower and tests (#1239)
0xWOLAND Aug 8, 2024
d605fb0
handle conflicts
tamirhemo Aug 8, 2024
d06fd99
chore: dev to exprimental (#1287)
tamirhemo Aug 8, 2024
0560027
feat: recursion circuit p2 skinny air constraints (#1192)
kevjue Aug 8, 2024
a9c454d
docs: common issues for `syscall_verify_sp1_proof` and `ignore-rust-v…
ratankaliani Aug 9, 2024
5c3944b
(does not compile) a lot of "lookable" stuff
tqn Aug 9, 2024
361009a
test now runs, but fails
tqn Aug 9, 2024
0749bb9
flatten `witness_stream`
tqn Aug 9, 2024
a4f8434
lookable for arrays and refs
tqn Aug 9, 2024
b21b224
test passes
tqn Aug 9, 2024
46c5fae
Merge branch 'experimental' into tqn/v2-verify-shard
tqn Aug 9, 2024
a615855
chore: plonk version (#1295)
ctian1 Aug 9, 2024
72f40c6
rename lookable to witnessable
tqn Aug 9, 2024
7b11008
feat: `verify_shard` in v2 verify circuit (#1281)
tamirhemo Aug 9, 2024
a2a055b
fix: add bn254 fp to record
0xWOLAND Aug 12, 2024
2de355f
fix: add bn254 fp to record (#1304)
0xWOLAND Aug 12, 2024
60c9a92
feat: couple of traits to genericize verify circuit (#1305)
tqn Aug 12, 2024
cdee36b
chore: `verify_sp1_proof` naming (#1288)
ratankaliani Aug 12, 2024
722eb40
docs: prover network semver (#1309)
mattstam Aug 12, 2024
ea46ded
feat: circuit types for the constant proof shape case (#1311)
tamirhemo Aug 13, 2024
5ba59ff
fix: memory checkpoints with syscalls (#1284)
ctian1 Aug 13, 2024
ee92dfe
chore: dev to experimental (#1312)
ctian1 Aug 13, 2024
7334d70
feat: verify shard in recursion circuit (#1316)
tamirhemo Aug 14, 2024
b01054a
chore: fix tests, add `bn254` fp2 to record
0xWOLAND Aug 13, 2024
e2044e3
fix: bump test versions, rebuild tests
0xWOLAND Aug 14, 2024
185d23e
chore: fix `fp` tests, record (#1315)
0xWOLAND Aug 14, 2024
cf5815c
feat: `decompress pubkey`
0xWOLAND Aug 14, 2024
5d8d7d7
test: remove old `ecrecover` test
0xWOLAND Aug 14, 2024
9f0a709
test: remove references to `ecrecover` test elf
0xWOLAND Aug 14, 2024
0ae6a25
fix: remove `amcl`
0xWOLAND Aug 14, 2024
3e5a648
add space
0xWOLAND Aug 14, 2024
6101f9c
fix: remove all `ecrecover` tests, add amcl back
0xWOLAND Aug 14, 2024
0aecccf
fix: clippy
0xWOLAND Aug 14, 2024
93db438
feat: `decompress pubkey` (#1318)
jtguibas Aug 14, 2024
ceeaf64
fix: allow hint slice syscall code in unconstrained mode
0xWOLAND Aug 14, 2024
111094e
fix: add comment
0xWOLAND Aug 14, 2024
a893ade
fix: comment
0xWOLAND Aug 14, 2024
ff8214f
chore: remove print
0xWOLAND Aug 14, 2024
4ae157b
fix: allow hint slice syscall code in unconstrained mode (#1319)
0xWOLAND Aug 14, 2024
f9224d3
feat: core recursion in circuit (#1322)
tamirhemo Aug 15, 2024
6a6c064
chore: refactor + cleanup core crates
jtguibas Aug 15, 2024
5085525
feat: add groth16 (#1313)
mattstam Aug 17, 2024
419f92b
chore: resolve merge conflicts between dev and experimental
jtguibas Aug 17, 2024
ecb1b96
fix: cargo check on tests
jtguibas Aug 17, 2024
c53bc8c
fix imports
jtguibas Aug 17, 2024
e78ee45
feat: Ensure `sp1-sdk` is built in `release` mode (#1334)
ratankaliani Aug 19, 2024
4f26d91
fix fptower tests
jtguibas Aug 19, 2024
c65be66
Merge branch 'dev' into john/resolve-exp-dev-merge
jtguibas Aug 19, 2024
6bd0b42
fix pr running threshold
jtguibas Aug 19, 2024
531c8d6
fix in main.yml
jtguibas Aug 19, 2024
6dd567c
change to debug assertions
jtguibas Aug 19, 2024
9067f6c
add circuit v2
jtguibas Aug 19, 2024
416311e
fix artifact export test
jtguibas Aug 19, 2024
ebeb9fc
chore: merge experimental into dev (#1340)
jtguibas Aug 19, 2024
53c239e
chore: merge dev into experimental pt 2 (#1341)
jtguibas Aug 19, 2024
ce58093
chore: docs tweaks (#1302)
jtguibas Aug 20, 2024
b949d29
fix: reduce field elements before printing in GNARK circuit (#1332)
erabinov Aug 20, 2024
c0a35c2
feat: default strict align CFLAGS (#1272)
mattstam Aug 20, 2024
8e08f87
feat: restore acknolwedgements
jtguibas Aug 8, 2024
391fe93
chore: handle error instead of unwrap in e2e test
roynalnaruto Aug 13, 2024
91113d3
chore: make state pub (#1345)
ctian1 Aug 20, 2024
6cd55d6
fix: examples ci (#1347)
jtguibas Aug 20, 2024
5b3a61b
fix: tokio block on (#1346)
jtguibas Aug 20, 2024
4c6cbaf
perf: runtime optimizations (#1344)
jtguibas Aug 20, 2024
bce178c
chore: load tendermint blocks locally (#1348)
yuwen01 Aug 20, 2024
2ec1165
perf: two useful reductions, direct felt2var (#1277)
erabinov Aug 20, 2024
b0c8001
perf: felt multiplication in recompute_quotient (#1337)
erabinov Aug 20, 2024
1f407df
refactor: deprecate sp1-helper (#1268)
ratankaliani Aug 20, 2024
d3c88bf
feat(cli): vkey command to output program vkey hash (#1274)
mattstam Aug 20, 2024
f98626f
docs: `bn254` Affine Point (#1310)
ratankaliani Aug 20, 2024
087908d
chore(prover::tests): handle error instead of `unwrap` in e2e test (#…
jtguibas Aug 20, 2024
f8d251e
fix: don't use range checker in g16
jtguibas Aug 20, 2024
9d445b6
update version
0xWOLAND Aug 20, 2024
af62a96
chore: update version to 1.2.0-rc1 (#1351)
jtguibas Aug 20, 2024
295c6c8
fix: don't use range checker in g16 (#1350)
jtguibas Aug 20, 2024
fb967e8
feat: 1.2.0-rc1 cuda prover (#1353)
jtguibas Aug 20, 2024
c5f79d9
fix: public value multiplicities (#1356)
tamirhemo Aug 20, 2024
9621620
chore: fixing install guide (#1357)
stechu Aug 20, 2024
bc16f3f
feat: gas (#1354)
jtguibas Aug 20, 2024
4f93b78
feat: add groth16 to Prove (#1359)
dysfunctor Aug 20, 2024
e5aba0c
perf: use crate `vec_map`, box large `Instruction` variants (#1360)
tqn Aug 20, 2024
d3a73a9
chore: rename g16 plonk verifiers (#1363)
jtguibas Aug 21, 2024
bc38bdc
feat: bls12381 benchmark
0xWOLAND Aug 21, 2024
4d8cf9c
feat: bench bls and bn tower ops and pairing check
0xWOLAND Aug 22, 2024
64478d7
fix: typo
0xWOLAND Aug 22, 2024
bfe9060
fix: bls bench
0xWOLAND Aug 22, 2024
8d5c103
perf: move cycle tracker to `Err` in ` compile_one`, criterion benchm…
tqn Aug 22, 2024
2bb0b8f
perf: `Box` several `DslIr` variants to bring it under 64 bytes (#1371)
tqn Aug 22, 2024
ee07e34
feat: plonk in new circuit (#1364)
erabinov Aug 22, 2024
93e8ea9
fix: remove initial seeding
0xWOLAND Aug 22, 2024
a366d1f
refactor: move benches to `examples/`
0xWOLAND Aug 22, 2024
4e0418e
refactor: rename `bin/prove.rs` as `src/main.rs`
0xWOLAND Aug 22, 2024
17a38f9
docs: `bls12_381` and `bn254` docs
0xWOLAND Aug 21, 2024
82a9e45
fix: link to `kzg-rs`
0xWOLAND Aug 21, 2024
ec7ec84
docs: typos
0xWOLAND Aug 21, 2024
07ad339
docs: cite revm `run-*` functions in `bn254` table
0xWOLAND Aug 21, 2024
9348abd
fix: `bn` patch stats
0xWOLAND Aug 22, 2024
9ba435e
docs: `bls12_381` and `bn254` (#1368)
0xWOLAND Aug 22, 2024
0c9c42d
docs: precompile guide
0xWOLAND Aug 22, 2024
8237a4a
feat: bench `bls12-381` and `bn254` tower operations and pairing chec…
0xWOLAND Aug 22, 2024
f4b9bbf
feat: unify inner and outer witnesses in recursion circuit (#1374)
tamirhemo Aug 22, 2024
27a5999
perf: unify variable counters (#1372)
tqn Aug 22, 2024
0c679ce
fix: remove field op comment
0xWOLAND Aug 22, 2024
bb33fa4
fix: bench w/ 10 blobs for verify batched kzg proof
0xWOLAND Aug 22, 2024
2a928c0
docs: bench w/ 10 blobs for verify batched kzg proof (#1377)
0xWOLAND Aug 22, 2024
322d5f1
docs: precompile guide (#1375)
0xWOLAND Aug 22, 2024
3c3e278
chore: Add `BuildArgs` re-export to `sp1-helper` (#1367)
ratankaliani Aug 22, 2024
f8b27f8
fix: bug in exp_reverse_bits memory multiplicity (#1378)
erabinov Aug 23, 2024
bdc4dd9
fix: pass github token into install-toolchain (#1386)
mattstam Aug 23, 2024
71c2f2e
chore: prepare 1.2.0-rc1 (#1387)
mattstam Aug 23, 2024
fa96e30
chore: merge main into dev (#1390)
mattstam Aug 23, 2024
4467d6a
fix: ci test examples (#1391)
mattstam Aug 24, 2024
a7afc1b
perf: recursion v2 tracegen (#1376)
tqn Aug 25, 2024
e8efd00
feat: optimize runtime speed on fast (#1373)
jtguibas Aug 26, 2024
152bcfd
perf: remove 15 cols from poseidon2 wide (#1397)
tqn Aug 26, 2024
b2af471
fix: ci reference to crates (#1398)
mattstam Aug 26, 2024
a45351f
fix: duplicate crate warning (#1405)
ctian1 Aug 26, 2024
787537a
fix: crate readme paths (#1407)
mattstam Aug 26, 2024
5c23254
fix: docker gnark ffi crate path (#1408)
mattstam Aug 26, 2024
394eec8
fix: put back re-export of `HookEnv` in `sp1-sdk` (#1410)
tqn Aug 26, 2024
0ffa3d4
fix: docker gnark (#1411)
ctian1 Aug 27, 2024
c1ff739
fix: handle load mem instructions that write to reg x0 (#1409)
kevjue Aug 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ updates:
- dependency-name: "axum"
versions: ["> 0.7.4"]
- package-ecosystem: "docker"
directory: "/cli/docker"
directory: "/crates/cli/docker"
schedule:
interval: "weekly"
target-branch: "dev"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: ./cli/docker
file: ./cli/docker/Dockerfile
context: ./crates/cli/docker
file: ./crates/cli/docker/Dockerfile
push: true
tags: ${{ steps.docker_tagging.outputs.docker_tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
19 changes: 7 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ on:
branches:
- main
paths:
- "cli/**"
- "core/**"
- "prover/**"
- "recursion/**"
- "derive/**"
- "sdk/**"
- "crates/**"
- ".github/workflows/**"

concurrency:
Expand Down Expand Up @@ -118,18 +113,18 @@ jobs:

- name: Install SP1 CLI
run: |
cd cli
cd crates/cli
cargo install --force --locked --path .
cd ~

- name: Run script
run: |
cd examples/ssz-withdrawals/program
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/zkvm/entrypoint
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/crates/zkvm/entrypoint
cargo prove build
cd ../script
cargo remove sp1-sdk
cargo add sp1-sdk --path $GITHUB_WORKSPACE/sdk
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
SP1_DEV=1 RUST_LOG=info cargo run --release

tendermint:
Expand Down Expand Up @@ -158,16 +153,16 @@ jobs:

- name: Install SP1 CLI
run: |
cd cli
cd crates/cli
cargo install --force --locked --path .
cd ~

- name: Run script
run: |
cd examples/tendermint/program
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/zkvm/entrypoint
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/crates/zkvm/entrypoint
cargo prove build
cd ../script
cargo remove sp1-sdk
cargo add sp1-sdk --path $GITHUB_WORKSPACE/sdk
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
SP1_DEV=1 RUST_LOG=info cargo run --release
50 changes: 38 additions & 12 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,7 @@ on:
branches:
- "**"
paths:
- "cli/**"
- "core/**"
- "prover/**"
- "recursion/**"
- "derive/**"
- "sdk/**"
- "zkvm/**"
- "tests/**"
- "crates/**"
- "examples/**"
- "Cargo.toml"
- ".github/workflows/**"
Expand All @@ -25,6 +18,39 @@ concurrency:
cancel-in-progress: true

jobs:
test-fast:
name: Test (fast-experimental)
runs-on: runs-on,runner=64cpu-linux-x64,spot=false
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Setup CI
uses: ./.github/actions/setup

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
toolchain: 1.79.0
args: --all-targets --all-features

- name: Run cargo test core-v2
uses: actions-rs/cargo@v1
with:
command: test
toolchain: 1.79.0
args: --release --package sp1-recursion-core-v2 --package sp1-recursion-circuit-v2 --features native-gnark
env:
RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 -C target-cpu=native
RUST_BACKTRACE: 1
FRI_QUERIES: 1
SP1_DEV: 1



test-x86:
name: Test (x86-64)
runs-on:
Expand Down Expand Up @@ -147,7 +173,7 @@ jobs:

- name: Install SP1 CLI
run: |
cd cli
cd crates/cli
cargo install --force --locked --path .
~/.sp1/bin/cargo-prove prove install-toolchain
cd ~
Expand Down Expand Up @@ -177,7 +203,7 @@ jobs:

- name: Install SP1 CLI
run: |
cd cli
cd crates/cli
cargo install --force --locked --path .
cd ~

Expand All @@ -189,9 +215,9 @@ jobs:
run: |
cd fibonacci
cd program
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/zkvm/entrypoint
cargo add sp1-zkvm --path $GITHUB_WORKSPACE/crates/zkvm/entrypoint
cargo prove build
cd ../script
cargo remove sp1-sdk
cargo add sp1-sdk --path $GITHUB_WORKSPACE/sdk
cargo add sp1-sdk --path $GITHUB_WORKSPACE/crates/sdk
SP1_DEV=1 RUST_LOG=info cargo run --release -- --prove
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
// // Examples.
// "examples/chess/program/Cargo.toml",
// "examples/chess/script/Cargo.toml",
// "examples/cycle-tracking/program/Cargo.toml",
// "examples/cycle-tracking/script/Cargo.toml",
// "examples/fibonacci/program/Cargo.toml",
// "examples/fibonacci/script/Cargo.toml",
// "examples/io/program/Cargo.toml",
Expand Down
Loading
Loading