Skip to content

Commit

Permalink
feat: update plonky2 to v1.0.0 stable fork
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaMasych committed Nov 26, 2024
1 parent c5980d2 commit db1e16a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true

- name: Build Rust Documentation
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true

- name: Run cargo check
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified tests/artifacts/proof.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions tests/artifacts_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<C>();

Expand Down

0 comments on commit db1e16a

Please sign in to comment.