Skip to content

fix: check all aztec-nr dependency tags, not just aztec#22483

Merged
benesjan merged 1 commit into
merge-train/fairiesfrom
jb/check-all-aztec-nr-dep-tags
Apr 17, 2026
Merged

fix: check all aztec-nr dependency tags, not just aztec#22483
benesjan merged 1 commit into
merge-train/fairiesfrom
jb/check-all-aztec-nr-dep-tags

Conversation

@benesjan

@benesjan benesjan commented Apr 11, 2026

Copy link
Copy Markdown
Contributor

Until now we have only checked that aztec dep matches the version of aztec cli. This was incomplete as there are also other crates in the aztec-nr repo (e.g. uint_note) that should have this same check applied to them. In this PR I tackle that.

AI Summary

  • Broadens warnIfAztecVersionMismatch to inspect every dependency in a contract's Nargo.toml whose git URL points at github.com/AztecProtocol/aztec-nr, rather than only the single dep literally named aztec.
  • Dependencies like uint_note, compressed_string, balance_set, etc. are now flagged when their tag drifts from the CLI version (common after aztec-up forgets one).
  • Warning now names the offending dep so users know exactly which one to bump.
  • URL normalization handles .git suffixes and trailing slashes.

Closes F-504.

🤖 Generated with Claude Code

Broaden `warnIfAztecVersionMismatch` to flag any dependency sourced from
the AztecProtocol/aztec-nr repo whose tag does not match the CLI
version, instead of only checking the dep literally named `aztec`. The
warning now names the offending dep so users know exactly which one to
bump.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@benesjan benesjan requested review from mverzilli and nchamo April 15, 2026 02:44
@benesjan benesjan merged commit bb25519 into merge-train/fairies Apr 17, 2026
14 checks passed
@benesjan benesjan deleted the jb/check-all-aztec-nr-dep-tags branch April 17, 2026 07:58
AztecBot pushed a commit that referenced this pull request Apr 17, 2026
Until now we have only checked that `aztec` dep matches the version of
`aztec cli`. This was incomplete as there are also other crates in the
aztec-nr repo (e.g. `uint_note`) that should have this same check
applied to them. In this PR I tackle that.

## AI Summary

- Broadens `warnIfAztecVersionMismatch` to inspect **every** dependency
in a contract's `Nargo.toml` whose git URL points at
`github.com/AztecProtocol/aztec-nr`, rather than only the single dep
literally named `aztec`.
- Dependencies like `uint_note`, `compressed_string`, `balance_set`,
etc. are now flagged when their `tag` drifts from the CLI version
(common after `aztec-up` forgets one).
- Warning now names the offending dep so users know exactly which one to
bump.
- URL normalization handles `.git` suffixes and trailing slashes.

Closes
[F-504](https://linear.app/aztec-labs/issue/F-504/check-all-aztec-nr-dependencies-have-matching-tags-not-just-aztec).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@AztecBot

Copy link
Copy Markdown
Collaborator

✅ Successfully backported to backport-to-v4-next-staging #22580.

github-merge-queue Bot pushed a commit that referenced this pull request Apr 17, 2026
BEGIN_COMMIT_OVERRIDE
fix(pxe): stop block synchronizer on PXE shutdown (#22604)
fix(aztec): respect TEST_ACCOUNTS env var in local network mode (#22600)
fix: check all aztec-nr dependency tags, not just aztec (#22483)
fix: reuse anchor block in kernel oracle (#22631)
refactor: unify contract compilation pipeline via bb aztec_process
(#22590)
fix(pxe): queue registerSender wipe to avoid racing with in-flight jobs
(#22623)
fix(pxe): bounds-check PropertySelector in pick_notes (#22614)
fix(pxe): guard private event store rollback against in-flight jobs
(#22615)
refactor(pxe): rename sideEffectCounter to initialSideEffectCounter
(#22599)
fix(pxe): correct stale authwitness comment and inverted tagging error
(#22537)
fix(aztec-nr): range-check auth witness fields before byte cast (#22624)
fix(pxe): serialize block stream event handling to prevent race
conditions (#22635)
fix(pxe): throw error on origin/contract address mismatch in simulation
(#22637)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants