Skip to content

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

Open
benesjan wants to merge 1 commit intomerge-train/fairiesfrom
jb/check-all-aztec-nr-dep-tags
Open

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

Conversation

@benesjan
Copy link
Copy Markdown
Contributor

@benesjan benesjan commented Apr 11, 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.

🤖 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant