diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 41742e0..a648297 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -25,7 +25,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true - name: Build Rust Documentation diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0aa49fd..9cd789a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -43,7 +43,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true - name: Run cargo check @@ -75,11 +75,11 @@ jobs: restore-keys: | ${{ runner.os }}-cargo-build- - - name: Install nightly toolchain + - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable - name: Install Nextest uses: taiki-e/install-action@v2 @@ -112,11 +112,11 @@ jobs: restore-keys: | ${{ runner.os }}-cargo-build- - - name: Install nightly toolchain + - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true components: rustfmt, clippy diff --git a/Cargo.lock b/Cargo.lock index 082eb1e..e245e09 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -421,8 +421,8 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "plonky2" -version = "0.2.2" -source = "git+https://github.com/distributed-lab/plonky2?branch=stable#140282e3850a2bc5e7c0ef3c4cd35a006e68a9b3" +version = "1.0.0" +source = "git+https://github.com/distributed-lab/plonky2?branch=stable#fa0e0591592cfa214d92aeebe500b07ae3410c3b" dependencies = [ "ahash", "anyhow", @@ -454,8 +454,8 @@ dependencies = [ [[package]] name = "plonky2_field" -version = "0.2.2" -source = "git+https://github.com/distributed-lab/plonky2?branch=stable#140282e3850a2bc5e7c0ef3c4cd35a006e68a9b3" +version = "1.0.0" +source = "git+https://github.com/distributed-lab/plonky2?branch=stable#fa0e0591592cfa214d92aeebe500b07ae3410c3b" dependencies = [ "anyhow", "itertools", @@ -469,16 +469,16 @@ dependencies = [ [[package]] name = "plonky2_maybe_rayon" -version = "0.2.0" -source = "git+https://github.com/distributed-lab/plonky2?branch=stable#140282e3850a2bc5e7c0ef3c4cd35a006e68a9b3" +version = "1.0.0" +source = "git+https://github.com/distributed-lab/plonky2?branch=stable#fa0e0591592cfa214d92aeebe500b07ae3410c3b" dependencies = [ "rayon", ] [[package]] name = "plonky2_util" -version = "0.2.0" -source = "git+https://github.com/distributed-lab/plonky2?branch=stable#140282e3850a2bc5e7c0ef3c4cd35a006e68a9b3" +version = "1.0.0" +source = "git+https://github.com/distributed-lab/plonky2?branch=stable#fa0e0591592cfa214d92aeebe500b07ae3410c3b" [[package]] name = "ppv-lite86" diff --git a/tests/artifacts/proof.bin b/tests/artifacts/proof.bin index 2ffa438..da3a92d 100644 Binary files a/tests/artifacts/proof.bin and b/tests/artifacts/proof.bin differ diff --git a/tests/artifacts_generator.rs b/tests/artifacts_generator.rs index 20fa1c3..d384c46 100644 --- a/tests/artifacts_generator.rs +++ b/tests/artifacts_generator.rs @@ -36,8 +36,8 @@ pub fn gen_factorial() { // Provide initial values. let mut pw = PartialWitness::new(); - pw.set_target(initial_a, F::ZERO); - pw.set_target(initial_b, F::ONE); + pw.set_target(initial_a, F::ZERO).unwrap(); + pw.set_target(initial_b, F::ONE).unwrap(); let data = builder.build::();