Skip to content

Commit

Permalink
Fix noir_js deps in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LogvinovLeon committed Feb 14, 2024
1 parent ea12527 commit a45c0de
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 3 deletions.
53 changes: 53 additions & 0 deletions .pnp.cjs

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

Binary file modified .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions ethereum_history_api/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"format:ci": "prettier --check src"
},
"dependencies": {
"@noir-lang/backend_barretenberg": "0.23.0",
"@noir-lang/noirc_abi": "^0.23.0",
"noir-ethereum-api-oracles": "^1.0.0",
"toml": "^3.0.0",
Expand Down
3 changes: 1 addition & 2 deletions ethereum_history_api/tests/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { type CompiledCircuit } from '@noir-lang/backend_barretenberg';
import { WitnessMap } from '@noir-lang/noir_js';
import { promises as fs } from 'fs';
import toml from 'toml';
import noir_ethereum_history_api from '../../../target/ethereum_history_api.json';
import { encodeHexString } from 'noir-ethereum-api-oracles';
import { abiEncode, type InputMap } from '@noir-lang/noirc_abi';
import { abiEncode, type InputMap, WitnessMap } from '@noir-lang/noirc_abi';

export const circuit = noir_ethereum_history_api as unknown as CompiledCircuit;

Expand Down
49 changes: 48 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,20 @@ __metadata:
languageName: node
linkType: hard

"@aztec/bb.js@npm:0.19.0":
version: 0.19.0
resolution: "@aztec/bb.js@npm:0.19.0"
dependencies:
comlink: "npm:^4.4.1"
commander: "npm:^10.0.1"
debug: "npm:^4.3.4"
tslib: "npm:^2.4.0"
bin:
bb.js: dest/node/main.js
checksum: 10c0/7f0df00d5fcc9c7a027c8fa4d02aa9ad36cfeb69dcee91770f207816fa00c1f9744113cbdc0921c43b48793ae56f1269b8300a081aa336b5971b0337af459bcf
languageName: node
linkType: hard

"@esbuild/aix-ppc64@npm:0.19.12":
version: 0.19.12
resolution: "@esbuild/aix-ppc64@npm:0.19.12"
Expand Down Expand Up @@ -370,6 +384,17 @@ __metadata:
languageName: node
linkType: hard

"@noir-lang/backend_barretenberg@npm:0.23.0":
version: 0.23.0
resolution: "@noir-lang/backend_barretenberg@npm:0.23.0"
dependencies:
"@aztec/bb.js": "npm:0.19.0"
"@noir-lang/types": "npm:0.23.0"
fflate: "npm:^0.8.0"
checksum: 10c0/52170513bae7e09df4bc88d6c020cddab47b91ab3c56c4dcb2183d2b091bcb95c557606e338daf22ee415fe61b8b218cdf6ec7971a5548804d11f83cd7795086
languageName: node
linkType: hard

"@noir-lang/noir_js@npm:0.23.0":
version: 0.23.0
resolution: "@noir-lang/noir_js@npm:0.23.0"
Expand Down Expand Up @@ -1306,6 +1331,20 @@ __metadata:
languageName: node
linkType: hard

"comlink@npm:^4.4.1":
version: 4.4.1
resolution: "comlink@npm:4.4.1"
checksum: 10c0/a7a2004030768d13ec9373f780aa0edae57616095cb453ec8950d9f97e5fa654c0e84030ac87173b818843a04a5fa9ce9749d48b6bd453cfbfb5e6a9ebb6b2ff
languageName: node
linkType: hard

"commander@npm:^10.0.1":
version: 10.0.1
resolution: "commander@npm:10.0.1"
checksum: 10c0/53f33d8927758a911094adadda4b2cbac111a5b377d8706700587650fd8f45b0bbe336de4b5c3fe47fd61f420a3d9bd452b6e0e6e5600a7e74d7bf0174f6efe3
languageName: node
linkType: hard

"concat-map@npm:0.0.1":
version: 0.0.1
resolution: "concat-map@npm:0.0.1"
Expand Down Expand Up @@ -2146,6 +2185,13 @@ __metadata:
languageName: node
linkType: hard

"fflate@npm:^0.8.0":
version: 0.8.2
resolution: "fflate@npm:0.8.2"
checksum: 10c0/03448d630c0a583abea594835a9fdb2aaf7d67787055a761515bf4ed862913cfd693b4c4ffd5c3f3b355a70cf1e19033e9ae5aedcca103188aaff91b8bd6e293
languageName: node
linkType: hard

"file-entry-cache@npm:^6.0.1":
version: 6.0.1
resolution: "file-entry-cache@npm:6.0.1"
Expand Down Expand Up @@ -3298,6 +3344,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "noir-ethereum-api-e2e-tests@workspace:ethereum_history_api/tests"
dependencies:
"@noir-lang/backend_barretenberg": "npm:0.23.0"
"@noir-lang/noirc_abi": "npm:^0.23.0"
"@types/node": "npm:^20.10.5"
eslint: "npm:^8.56.0"
Expand Down Expand Up @@ -4470,7 +4517,7 @@ __metadata:
languageName: node
linkType: hard

"tslib@npm:^2.6.2":
"tslib@npm:^2.4.0, tslib@npm:^2.6.2":
version: 2.6.2
resolution: "tslib@npm:2.6.2"
checksum: 10c0/e03a8a4271152c8b26604ed45535954c0a45296e32445b4b87f8a5abdb2421f40b59b4ca437c4346af0f28179780d604094eb64546bee2019d903d01c6c19bdb
Expand Down

0 comments on commit a45c0de

Please sign in to comment.