Skip to content

Commit f3080a9

Browse files
authored
feat: add initial implementation (#1)
Release-As: v0.1.0
1 parent d4e1427 commit f3080a9

File tree

14 files changed

+2435
-2838
lines changed

14 files changed

+2435
-2838
lines changed

.github/NIGHTLY_CANARY_DIED.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: "Tests fail on latest Nargo nightly release"
3+
assignees: kashbrti
34
---
45

56
The tests on this Noir project have started failing when using the latest nightly release of the Noir compiler. This likely means that there have been breaking changes for which this project needs to be updated to take into account.
67

7-
Check the [{{env.WORKFLOW_NAME}}]({{env.WORKFLOW_URL}}) workflow for details.
8+
Check the [{{env.WORKFLOW_NAME}}]({{env.WORKFLOW_URL}}) workflow for details.

.github/workflows/benchmark.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ jobs:
1717
- name: Install Nargo
1818
uses: noir-lang/[email protected]
1919
with:
20-
toolchain: 0.36.0
20+
toolchain: 1.0.0-beta.3
2121

2222
- name: Install bb
2323
run: |
2424
npm install -g bbup
25-
bbup -nv 0.36.0
25+
bbup -nv 1.0.0-beta.3
26+
sudo apt install libc++-dev
2627
2728
- name: Build Noir benchmark programs
2829
run: nargo export
@@ -34,7 +35,7 @@ jobs:
3435

3536
- name: Compare gates reports
3637
id: gates_diff
37-
uses: noir-lang/noir-gates-diff@7e4ddaa91c69380f15ccba514eac17bc7432a8cc
38+
uses: noir-lang/noir-gates-diff@dbe920a8dcc3370af4be4f702ca9cef29317bec1
3839
with:
3940
report: gates_report.json
4041
summaryQuantile: 0.9 # only display the 10% most significant circuit size diffs in the summary (defaults to 20%)

.github/workflows/test.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
env:
1010
CARGO_TERM_COLOR: always
11-
MINIMUM_NOIR_VERSION: v0.36.0
11+
MINIMUM_NOIR_VERSION: v1.0.0-beta.3
1212

1313
jobs:
1414
noir-version-list:
@@ -50,32 +50,6 @@ jobs:
5050
- name: Run Noir tests
5151
run: nargo test
5252

53-
rust-equivalence-tests:
54-
name: Test for equivalence against Rust impl
55-
runs-on: ubuntu-latest
56-
steps:
57-
- name: Checkout sources
58-
uses: actions/checkout@v4
59-
60-
- name: Install Nargo
61-
uses: noir-lang/[email protected]
62-
with:
63-
toolchain: ${{ env.MINIMUM_NOIR_VERSION }}
64-
65-
- name: Install Cargo
66-
uses: dtolnay/[email protected]
67-
with:
68-
targets: x86_64-unknown-linux-gnu
69-
70-
- name: Cache Cargo dependencies
71-
uses: Swatinem/rust-cache@v2
72-
with:
73-
key: x86_64-unknown-linux-gnu
74-
cache-on-failure: true
75-
76-
- name: Export and Test Noir Functions
77-
run: ./scripts/fuzz-test.sh
78-
7953
format:
8054
runs-on: ubuntu-latest
8155
steps:
@@ -99,7 +73,6 @@ jobs:
9973
if: ${{ always() }}
10074
needs:
10175
- test
102-
- rust-equivalence-tests
10376
- format
10477

10578
steps:

0 commit comments

Comments
 (0)