Skip to content

Commit fdb14ae

Browse files
committed
chore: Bump Noir reference
Automated pull of nightly from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE chore: some mem2reg refactors regarding expressions and aliases (noir-lang/noir#9610) feat: keep last loads from predecessors in mem2reg (noir-lang/noir#9492) chore: Update flattening docs (noir-lang/noir#9588) chore: remove redundant globals creation (noir-lang/noir#9606) chore: simplify Expression in mem2reg (noir-lang/noir#9599) chore: remove duplicate `contains_reference` in mem2reg (noir-lang/noir#9602) chore!: remove `verify_signature_slice` methods from stdlib (noir-lang/noir#9597) fix(expand): correctly handle nested dereferences (noir-lang/noir#9598) fix(ssa): Do not simplify on lhs being zero for shifts (noir-lang/noir#9596) chore: store last loads in `HashSet` instead of `HashMap` in mem2reg (noir-lang/noir#9498) chore: `--no-ssa-locations` for `nargo interpret` and show negative values when printing SSA (noir-lang/noir#9586) fix: `assert_constant` refactors and fixes from audit (noir-lang/noir#9547) fix(ssa): Consider `shl` and `shr` to have side effects (noir-lang/noir#9580) fix: avoid invalid cast in `remove_bit_shifts` (noir-lang/noir#9570) fix(mem2reg): Consider aliases of a loaded address to be loaded from as well (noir-lang/noir#9567) fix: Consume correct number of fields when printing references (noir-lang/noir#9579) chore: Add a section for numeric type aliases (noir-lang/noir#9589) chore(remove_paired_rc): Add various unit tests (noir-lang/noir#9425) fix: incorrect max bit size in `remove_bit_shifts` (noir-lang/noir#9585) chore(ssa): Simplify shl/shr identity operations (noir-lang/noir#9587) chore: greenlight `brillig_array_get_and_set` for audits (noir-lang/noir#9540) chore(ssa): Update comments on `loop_invariant` for audit and some missing unit tests (noir-lang/noir#9574) chore: Switch to node v22.15.0 (noir-lang/noir#9582) chore: Update unrolling docs for audit (noir-lang/noir#9572) chore: greenlight `array_set_optimization` (noir-lang/noir#9560) fix(acir_gen): Keep range checks before side effects (noir-lang/noir#9340) END_COMMIT_OVERRIDE
1 parent 306188f commit fdb14ae

File tree

2 files changed

+6
-58
lines changed

2 files changed

+6
-58
lines changed

noir/noir-repo-ref

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2025-08-20
1+
nightly-2025-08-22

noir/noir-repo.patch

Lines changed: 5 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 8ca3b8e97ac85629d879856f882623e73b7c39f0 Mon Sep 17 00:00:00 2001
22
From: TomAFrench <[email protected]>
33
Date: Sat, 15 Mar 2025 15:36:12 +0000
4-
Subject: [PATCH 1/4] chore: turn on `skipLibCheck`
4+
Subject: [PATCH 1/2] chore: turn on `skipLibCheck`
55

66
---
77
tooling/noir_codegen/tsconfig.json | 1 +
@@ -19,64 +19,13 @@ index 30dd2a7ee..a2712fd73 100644
1919
},
2020
"include": [
2121
"src/**/*.ts"
22-
--
23-
2.43.0
24-
25-
From 8de78a95d79ddab74305e4de4b4ed3e44c09ffae Mon Sep 17 00:00:00 2001
26-
From: Tom French <[email protected]>
27-
Date: Wed, 20 Aug 2025 14:10:23 +0000
28-
Subject: [PATCH 2/4] chore: fix acvm_js test
29-
30-
---
31-
acvm-repo/acvm_js/test/node/build_info.test.ts | 5 ++---
32-
acvm-repo/acvm_js/tsconfig.json | 6 +++---
33-
2 files changed, 5 insertions(+), 6 deletions(-)
34-
35-
diff --git a/acvm-repo/acvm_js/test/node/build_info.test.ts b/acvm-repo/acvm_js/test/node/build_info.test.ts
36-
index 362fd91af..8b4c7f2eb 100644
37-
--- a/acvm-repo/acvm_js/test/node/build_info.test.ts
38-
+++ b/acvm-repo/acvm_js/test/node/build_info.test.ts
39-
@@ -1,9 +1,8 @@
40-
import { expect } from 'chai';
41-
-import acvm_js from '@noir-lang/acvm_js';
42-
-const { buildInfo } = acvm_js;
43-
+import { buildInfo } from '@noir-lang/acvm_js';
44-
45-
import child_process from 'child_process';
46-
-import pkg from '../../package.json' with { type: 'json' };
47-
+import pkg from '../../package.json';
48-
49-
it('returns the correct build info', () => {
50-
let revision: string;
51-
diff --git a/acvm-repo/acvm_js/tsconfig.json b/acvm-repo/acvm_js/tsconfig.json
52-
index 4fd8e50df..791d6527a 100644
53-
--- a/acvm-repo/acvm_js/tsconfig.json
54-
+++ b/acvm-repo/acvm_js/tsconfig.json
55-
@@ -2,8 +2,8 @@
56-
"compilerOptions": {
57-
"moduleResolution": "node",
58-
"outDir": "lib",
59-
- "target": "ESNext",
60-
- "module": "ESNext",
61-
+ "target": "esnext",
62-
+ "module": "esnext",
63-
"strict": true,
64-
"experimentalDecorators": true,
65-
"esModuleInterop": true,
66-
@@ -13,4 +13,4 @@
67-
"sourceMap": true,
68-
"resolveJsonModule": true,
69-
}
70-
-}
71-
\ No newline at end of file
72-
+}
73-
--
22+
--
7423
2.43.0
7524

7625
From 16fd73b7a2fa2dd52d9a36343517bbcf76889740 Mon Sep 17 00:00:00 2001
7726
From: dbanks12 <[email protected]>
7827
Date: Thu, 21 Aug 2025 17:02:22 +0000
79-
Subject: [PATCH 4/4] feat!: force inliner aggressiveness to 0 for for
28+
Subject: [PATCH 2/2] feat!: force inliner aggressiveness to 0 for for
8029
public_dispatch contract fn
8130

8231
---
@@ -90,14 +39,13 @@ index 3c5a9a5cf..b25610fbd 100644
9039
@@ -645,6 +645,10 @@ fn compile_contract_inner(
9140
}
9241
};
93-
42+
9443
+ if name == "public_dispatch" {
9544
+ options.inliner_aggressiveness = 0;
9645
+ }
9746
+
9847
let function = match compile_no_check(context, &options, function_id, None, true) {
9948
Ok(function) => function,
10049
Err(new_error) => {
101-
--
50+
--
10251
2.43.0
103-

0 commit comments

Comments
 (0)