Skip to content

Commit

Permalink
Merge pull request #244 from signorecello/zpedro/noir_circuits
Browse files Browse the repository at this point in the history
feat(circuits): add a noir circuit for merkle tree membership and JS tests for poseidon2 and pedersen
  • Loading branch information
cedoor committed Apr 18, 2024
2 parents 9b00d76 + 41452de commit 3a661f5
Show file tree
Hide file tree
Showing 29 changed files with 1,070 additions and 1,022 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:

- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: nightly

- name: Install dependencies
run: yarn
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:

- name: Install Nargo
uses: noir-lang/noirup@v0.1.3
with:
toolchain: nightly

- name: Install dependencies
run: yarn
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
],
"packageManager": "yarn@4.1.0",
"devDependencies": {
"@aztec/bb.js": "^0.32.0",
"@aztec/bb.js": "^0.33.0",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@types/glob": "^7.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/circuits/noir/Nargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[workspace]
members = ["crates/smt_pedersen", "crates/smt_poseidon", "crates/smt_poseidon2"]
members = ["merkle_trees"]
5 changes: 0 additions & 5 deletions packages/circuits/noir/crates/smt_pedersen/Nargo.toml

This file was deleted.

200 changes: 0 additions & 200 deletions packages/circuits/noir/crates/smt_pedersen/src/lib.nr

This file was deleted.

118 changes: 0 additions & 118 deletions packages/circuits/noir/crates/smt_pedersen/src/utils.nr

This file was deleted.

5 changes: 0 additions & 5 deletions packages/circuits/noir/crates/smt_poseidon/Nargo.toml

This file was deleted.

Loading

0 comments on commit 3a661f5

Please sign in to comment.