Commit 3dd0b4f
authored
chore: update Noir to v1.0.0-beta.22 (v5-next) (#23870)
## Summary
Bumps the `noir/noir-repo` submodule on `v5-next` to the official
**noir-lang/noir `v1.0.0-beta.22`** release (`c57152f`), replacing the
off-mainline `temp-serialization-tag` commit (`f1a4575`, "Fixes") that
v5-next was pinned to. This is so v5 is built from a proper noir release
rather than a nightly/temp tag.
## Changes
- **`noir/noir-repo`** → `c57152f91260ecdb9faad4efc20abb14b6d2ece7`
(`v1.0.0-beta.22`).
- **`avm-transpiler/Cargo.lock`** → noir crates `1.0.0-beta.21` →
`1.0.0-beta.22` (adds `msgpack_tagged`, `serde_bytes`, `bs58`,
`tinyvec`; bumps `darling` 0.23, `serde_with` 3.20). This matches the
lockfile delta the automated nightly noir-sync produces.
- **`noir-projects/aztec-nr`** — replace the now-deprecated
`BoundedVec::from_parts_unchecked` with `BoundedVec::from_parts` in
`note_getter.nr` and `utils/array/subbvec.nr`. beta.22 deprecates
`from_parts_unchecked` (`from_parts` no longer needs the extra zeroing
loop), and `aztec-nr`'s CI step runs `nargo check --deny-warnings`, so
the deprecation is a hard failure without this. Same fix the team's
`cb/bump-noir-with-from-parts-fix` branch applied.
## Verification (local)
- Built `nargo` from the beta.22 submodule (`noirc
1.0.0-beta.22+c57152f`).
- `cargo build` of `avm-transpiler` against beta.22: **passes** (no
source changes needed beyond the lockfile).
- `noir-protocol-circuits` `crates/types` + representative binaries
(`parity-root`, `private-kernel-init`, `private-kernel-tail`,
`rollup-block-root`, `rollup-root`) compile clean.
- Full `noir-contracts` workspace `nargo compile --silence-warnings`:
**passes**.
- `aztec-nr` `nargo check --deny-warnings`: **fails before** the
from_parts fix (on the two files above), **passes after**.
## Remaining knock-on — `yarn-project/yarn.lock` (needs CI/maintainer
regen)
beta.22 bumps the published noir JS package versions
(`@aztec/noir-acvm_js`, `noirc_abi`, `noir_js`, `types`, `noir_codegen`)
`1.0.0-beta.21` → `1.0.0-beta.22`. Because `yarn install` runs
`--immutable` in CI, `yarn-project/yarn.lock` must be refreshed:
- 6 `1.0.0-beta.21` → `1.0.0-beta.22` version strings, plus
- the regenerated `@aztec/noir-noir_js@file:` resolution `hash=` and
`checksum:` (content-derived).
This is exactly the lockfile refresh the nightly noir-sync performs
automatically (see the precedent in `7683ee71a58`). I could **not**
regenerate it in this sandbox: producing the `noir_js` `file:` checksum
requires building the noir JS/wasm packages (`noir/bootstrap.sh`), and
the wasm toolchain (`wasm-bindgen`/`wasm-opt`) install is
network-blocked here (crates.io index unreachable). To finish locally:
```bash
cd noir && ./bootstrap.sh # builds noir/packages/* at beta.22
cd ../yarn-project && yarn install # refreshes yarn.lock
```
Then commit the resulting `yarn-project/yarn.lock`.
Tracking label `private-port-next` added per the v5 sync request.
---
*Created by
[claudebox](https://claudebox.work/v2/sessions/60a7ac646b5b7cbd) ·
group: `slackbot`*4 files changed
Lines changed: 91 additions & 38 deletions
File tree
- avm-transpiler
- noir-projects/aztec-nr/aztec/src
- note
- utils/array
- noir
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | | - | |
263 | | - | |
| 261 | + | |
264 | 262 | | |
265 | 263 | | |
266 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
Submodule noir-repo updated 1075 files
0 commit comments