Skip to content

chore: update Noir to v1.0.0-beta.25 (backport #24907)#24945

Merged
IlyasRidhuan merged 1 commit into
backport-to-v5-next-stagingfrom
cb/backport-pr-24907-to-v5-next
Jul 24, 2026
Merged

chore: update Noir to v1.0.0-beta.25 (backport #24907)#24945
IlyasRidhuan merged 1 commit into
backport-to-v5-next-stagingfrom
cb/backport-pr-24907-to-v5-next

Conversation

@AztecBot

Copy link
Copy Markdown
Collaborator

Summary

Backport of #24907 to v5-next via backport-to-v5-next-staging.

This replays the Noir v1.0.0-beta.25 bump onto the v5 staging branch, including the Noir submodule update, avm-transpiler compatibility updates, yarn lockfile refresh, aztec-nr formatter/macros updates, contract snapshot refreshes, and stdlib artifact-loader changes.

Conflict Resolution

The cherry-pick conflicted in yarn-project/stdlib/src/abi/contract_artifact.test.ts. The resolution keeps the existing v5 loadContractArtifactWithValidation coverage and adds the beta.25 storage-global normalization tests from the original PR.

Commit Structure

  1. Cherry-pick of b0ed85797a7bf8668950ab4078fc42eb42d69689 with the test conflict resolved in place.

Verification

  • git diff --check origin/backport-to-v5-next-staging..HEAD
  • Strict conflict-marker scan: rg -n '^(<<<<<<< |=======$|>>>>>>> )'

Could not run the focused stdlib test locally: yarn workspace @aztec/stdlib test src/abi/contract_artifact.test.ts first failed because the checkout had no Yarn install state. Preparing that state required the Noir bootstrap, but DENOISE=0 ./bootstrap.sh in noir/ failed while trying to install just@1.42.4 from crates.io due a tunnel/DNS error. The container also has Rust 1.85.0 while this branch expects Rust 1.89.0.


Created by claudebox · group: slackbot · Slack thread

Bumps `noir/noir-repo` from `v1.0.0-beta.22` to `v1.0.0-beta.25`
(`c57152f9` → `75061fab15986eedee4e7d9104ff87dd9fa4ca10`) and applies
the
required follow-on compatibility updates.

- Updates the Noir submodule to `v1.0.0-beta.25`.
- Refreshes `avm-transpiler/Cargo.lock` with targeted Noir-package
updates and
  adapts the transpiler to the public `BrilligOpcodeLocation` /
  `BrilligFunctionId` APIs.
- Refreshes `yarn-project/yarn.lock` for the beta.25 Noir packages.
- Adapts aztec-nr macros and helpers to beta.25:
  - accounts for kernel-validated oracle outputs;
  - removes obsolete storage-proof and state-variable imports;
  - applies the beta.25 formatter output.
- Normalizes beta.25's named contract globals before artifact-schema
parsing,
  including storage-layout extraction, with regression coverage.
- Refreshes the contract expansion and compile-failure snapshots
produced by
  beta.25.
- Excludes two new upstream compiler-only fixtures from Barretenberg's
UltraHonk
  ACIR integration suite: one uses unsupported CallData blocks, and one
intentionally optimizes to an empty circuit while retaining unused
inputs.

- `cargo check --all-targets` in `avm-transpiler`
- `yarn workspace @aztec/stdlib build`
- `yarn format stdlib`
- `yarn lint stdlib`
- `yarn workspace @aztec/stdlib test src/abi/contract_artifact.test.ts`
- `./noir-projects/contract-snapshots/bootstrap.sh test` (60 passed)
- `./barretenberg/acir_tests/bootstrap.sh`
- CI3 passed on the complete pre-squash tree; the final head contains
the same
  change set as one commit on current `next`.

---
*Created by
[claudebox](https://claudebox.work/v2/sessions/c0d43cb515b09702/jobs/1)
· group: `slackbot` · [Slack
thread](https://aztecfoundation.slack.com/archives/C0B278STDMZ/p1784718350039199?thread_ts=1784718350.039199&cid=C0B278STDMZ)*
@AztecBot AztecBot added backport-to-v5-next C-noir Component: Noir/Nargo ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR. labels Jul 23, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​aztec/​noir-noir_js@​1.0.0-beta.22 ⏵ 1.0.0-beta.25N/AN/AN/AN/AN/A

View full report

@IlyasRidhuan
IlyasRidhuan marked this pull request as ready for review July 23, 2026 16:08
@IlyasRidhuan
IlyasRidhuan removed the request for review from MirandaWood July 23, 2026 16:08
@IlyasRidhuan
IlyasRidhuan merged commit e39cb5b into backport-to-v5-next-staging Jul 24, 2026
51 of 63 checks passed
@IlyasRidhuan
IlyasRidhuan deleted the cb/backport-pr-24907-to-v5-next branch July 24, 2026 08:30
@AztecBot

Copy link
Copy Markdown
Collaborator Author

✅ Successfully backported to backport-to-v5-next-staging #.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v5-next C-noir Component: Noir/Nargo ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants