Skip to content

Commit f988fa7

Browse files
committed
chore: apply sync fixes
1 parent f446a2b commit f988fa7

File tree

8 files changed

+41
-11
lines changed

8 files changed

+41
-11
lines changed

noir/bb-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.47.1
1+
0.48.0

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

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

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.48.0",
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.48.0":
225-
version: 0.48.0
226-
resolution: "@aztec/bb.js@npm:0.48.0"
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: e06b864a5acea4299dfa350f732dd05a807968678fd3bc3b9c699f9bc50aef1525e2492dfacf9965270082c23b04653f55c40a34f75ead11a52e3fc5512ddce7
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.48.0
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)