Skip to content

Commit

Permalink
chore: Run the protocol circuits noir tests in CI (#3660)
Browse files Browse the repository at this point in the history
Resolves #3205
  • Loading branch information
sirasistant authored Dec 12, 2023
1 parent ac1edc1 commit 383e123
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 2 additions & 4 deletions yarn-project/noir-protocol-circuits/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
"noir:build": "cd src && ../../../noir/target/release/nargo compile --silence-warnings && rm -rf ./target/debug_*",
"noir:types": "yarn ts-node --esm src/scripts/generate_ts_from_abi.ts && yarn formatting:fix",
"noir:test": "cd src && ../../../noir/target/release/nargo test",
"test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --passWithNoTests"
"test": "yarn test:js && yarn noir:test",
"test:js": "NODE_NO_WARNINGS=1 node --experimental-vm-modules $(yarn bin jest) --passWithNoTests"
},
"inherits": [
"../package.common.json"
],
"jest": {
"preset": "ts-jest/presets/default-esm",
"moduleNameMapper": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Constants taken from __snapshots__/noir_test_gen.test.ts.snap
global ROOT = 0x08ccb752b9e4f898ad6b87fb9ca1ed1f2b5e0b6cd67bf083e466ca6a31e21fae;
global ROOT = 0x2d541f5813387a5f4b32d1b3b103447ae142927457a60d00c779a5eeaead471d;
global SIBLING_PATHS = [
[
0x141929db05c4a4803aebc2a4aea0fb2f09a15ae9862c4da49f245b7726f4088e,
0x0c58a1ae52142f3369f9c46e6717bbef5aa55f9fc0e901a7d8cc860d9467021e,
0x27b1d0839a5b23baf12a8d195b18ac288fcf401afb2f70b8a4b529ede5fa9fed,
0x21dbfd1d029bf447152fcf89e355c334610d1632436ba170f738107266a71550,
0x0bcd1f91cf7bdd471d0a30c58c4706f3fdab3807a954b8f5b5e3bfec87d001bb,
Expand All @@ -20,7 +20,7 @@ global SIBLING_PATHS = [
0x177b9a10bbee32f77c719c6f8d071a18476cbeb021e155c642bbf93c716ce943,
],
[
0x0b5dfb998fbdce8e5804992d471c1fc8050642b7aba107e854052eb562944a01,
0x1ec6c50dc972349d72602ec6887f7accd3174d912ea58629447937865cb88a4d,
0x27b1d0839a5b23baf12a8d195b18ac288fcf401afb2f70b8a4b529ede5fa9fed,
0x21dbfd1d029bf447152fcf89e355c334610d1632436ba170f738107266a71550,
0x0bcd1f91cf7bdd471d0a30c58c4706f3fdab3807a954b8f5b5e3bfec87d001bb,
Expand Down

0 comments on commit 383e123

Please sign in to comment.