-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: Update CI and fix warnings * chore: noir-lang author * chore: remove unnecessary fuzz test * . * . * . * . * . * . * .
- Loading branch information
1 parent
712a5a8
commit 71cbebf
Showing
14 changed files
with
47 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,12 @@ jobs: | |
- name: Install Nargo | ||
uses: noir-lang/[email protected] | ||
with: | ||
toolchain: 0.34.0 | ||
toolchain: 0.36.0 | ||
|
||
- name: Install bb | ||
run: | | ||
npm install -g bbup | ||
bbup -nv 0.34.0 | ||
bbup -nv 0.36.0 | ||
- name: Build Noir benchmark programs | ||
run: nargo export | ||
|
@@ -34,7 +34,7 @@ jobs: | |
|
||
- name: Compare gates reports | ||
id: gates_diff | ||
uses: noir-lang/noir-gates-diff@1931aaaa848a1a009363d6115293f7b7fc72bb87 | ||
uses: noir-lang/noir-gates-diff@7e4ddaa91c69380f15ccba514eac17bc7432a8cc | ||
with: | ||
report: gates_report.json | ||
summaryQuantile: 0.9 # only display the 10% most significant circuit size diffs in the summary (defaults to 20%) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,21 @@ jobs: | |
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
|
||
- name: Run Noir tests | ||
run: nargo test | ||
|
||
rust-equivalence-tests: | ||
name: Test for equivalence against Rust impl | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Nargo | ||
uses: noir-lang/[email protected] | ||
with: | ||
toolchain: ${{ env.MINIMUM_NOIR_VERSION }} | ||
|
||
- name: Install Cargo | ||
uses: dtolnay/[email protected] | ||
with: | ||
|
@@ -58,8 +73,8 @@ jobs: | |
key: x86_64-unknown-linux-gnu | ||
cache-on-failure: true | ||
|
||
- name: Run Noir tests | ||
run: nargo test | ||
- name: Generate fuzz test programs | ||
run: nargo export | ||
|
||
- name: Run Cargo tests | ||
run: cargo test | ||
|
@@ -87,6 +102,7 @@ jobs: | |
if: ${{ always() }} | ||
needs: | ||
- test | ||
- rust-equivalence-tests | ||
- format | ||
|
||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/target | ||
export |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "sha256" | ||
type = "lib" | ||
authors = ["jtriley-eth"] | ||
authors = ["noir-lang"] | ||
compiler_version = ">=0.36.0" | ||
|
||
[dependencies] | ||
[dependencies] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
mod sha256; | ||
mod tests; | ||
|
||
pub use sha256::digest; | ||
pub use sha256::sha256_var; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters