Skip to content

Commit f5becf8

Browse files
committed
chore: apply sync fixes
1 parent 666c0eb commit f5becf8

File tree

7 files changed

+607
-10
lines changed

7 files changed

+607
-10
lines changed

noir/noir-repo/acvm-repo/acvm_js/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function run_if_available {
2525
require_command jq
2626
require_command cargo
2727
require_command wasm-bindgen
28-
require_command wasm-opt
28+
#require_command wasm-opt
2929

3030
self_path=$(dirname "$(readlink -f "$0")")
3131
pname=$(cargo read-manifest | jq -r '.name')
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[package]
2+
name = "verify_honk_proof"
3+
type = "bin"
4+
authors = [""]
5+
6+
[dependencies]

noir/noir-repo/test_programs/execution_success/verify_honk_proof/Prover.toml

+575
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
// This circuit aggregates a single Honk proof from `assert_statement_recursive`.
3+
global SIZE_OF_PROOF_IF_LOGN_IS_28 : u32 = 439;
4+
global HONK_IDENTIFIER : u32 = 1;
5+
fn main(
6+
verification_key: [Field; 128],
7+
// This is the proof without public inputs attached.
8+
//
9+
// This means: the size of this does not change with the number of public inputs.
10+
proof: [Field; SIZE_OF_PROOF_IF_LOGN_IS_28],
11+
public_inputs: pub [Field; 1],
12+
// This is currently not public. It is fine given that the vk is a part of the circuit definition.
13+
// I believe we want to eventually make it public too though.
14+
key_hash: Field
15+
) {
16+
std::verify_proof(verification_key, proof, public_inputs, key_hash);
17+
}

noir/noir-repo/tooling/noir_js_backend_barretenberg/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"lint": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0"
4242
},
4343
"dependencies": {
44-
"@aztec/bb.js": "0.51.1",
44+
"@aztec/bb.js": "portal:../../../../barretenberg/ts",
4545
"@noir-lang/types": "workspace:*",
4646
"fflate": "^0.8.0"
4747
},

noir/noir-repo/tooling/noirc_abi_wasm/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function run_if_available {
2525
require_command jq
2626
require_command cargo
2727
require_command wasm-bindgen
28-
require_command wasm-opt
28+
#require_command wasm-opt
2929

3030
self_path=$(dirname "$(readlink -f "$0")")
3131
pname=$(cargo read-manifest | jq -r '.name')

noir/noir-repo/yarn.lock

+6-7
Original file line numberDiff line numberDiff line change
@@ -221,19 +221,18 @@ __metadata:
221221
languageName: node
222222
linkType: hard
223223

224-
"@aztec/bb.js@npm:0.51.1":
225-
version: 0.51.1
226-
resolution: "@aztec/bb.js@npm:0.51.1"
224+
"@aztec/bb.js@portal:../../../../barretenberg/ts::locator=%40noir-lang%2Fbackend_barretenberg%40workspace%3Atooling%2Fnoir_js_backend_barretenberg":
225+
version: 0.0.0-use.local
226+
resolution: "@aztec/bb.js@portal:../../../../barretenberg/ts::locator=%40noir-lang%2Fbackend_barretenberg%40workspace%3Atooling%2Fnoir_js_backend_barretenberg"
227227
dependencies:
228228
comlink: ^4.4.1
229229
commander: ^10.0.1
230230
debug: ^4.3.4
231231
tslib: ^2.4.0
232232
bin:
233-
bb.js: dest/node/main.js
234-
checksum: 246953d4d2becc86001b8e6d49ab8c0b4fa4833a9bf1d2177d0fb4e271e66f9dc65e3b02b69b00fbfcb935a11e2f90b5ac229b8c8938c34604fe54b29b3accfb
233+
bb.js: ./dest/node/main.js
235234
languageName: node
236-
linkType: hard
235+
linkType: soft
237236

238237
"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.11, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5, @babel/code-frame@npm:^7.8.3":
239238
version: 7.23.5
@@ -4161,7 +4160,7 @@ __metadata:
41614160
version: 0.0.0-use.local
41624161
resolution: "@noir-lang/backend_barretenberg@workspace:tooling/noir_js_backend_barretenberg"
41634162
dependencies:
4164-
"@aztec/bb.js": 0.51.1
4163+
"@aztec/bb.js": "portal:../../../../barretenberg/ts"
41654164
"@noir-lang/types": "workspace:*"
41664165
"@types/node": ^20.6.2
41674166
"@types/prettier": ^3

0 commit comments

Comments
 (0)