Skip to content

chore: upgrade to Aztec v4.2.0-aztecnr-rc.2 - #12

Merged
critesjosh merged 2 commits into
mainfrom
chore/upgrade-aztec-v4.2.0-aztecnr-rc.2
Mar 30, 2026
Merged

chore: upgrade to Aztec v4.2.0-aztecnr-rc.2#12
critesjosh merged 2 commits into
mainfrom
chore/upgrade-aztec-v4.2.0-aztecnr-rc.2

Conversation

@critesjosh

Copy link
Copy Markdown
Owner

Summary

  • Update all version references from v4.1.0-rc.2 to v4.2.0-aztecnr-rc.2 across 9 files (config, docs, scaffold deps)
  • Fix stale code snippets in 4 skill files, verified against the actual GitHub source at the v4.2.0-aztecnr-rc.2 tag
  • Historical eval files (evals/history.json, evals/report/assessment.md) left unchanged as they document past runs

Syntax fixes

File Fix
data-types.md GENERATOR_INDEX__NOTE_HASHDOM_SEP__NOTE_HASH
notes.md Remove explicit owner/randomness from #[note] struct (macro handles these)
notes.md UintNote::new(amount, owner)UintNote { value: amount } (no constructor exists)
notes.md U128u128
notes.md self.emit(note, recipient, ...).insert(note).deliver_to(recipient, ...)
notes.md Add correct derives (Deserialize, Eq, Packable, Serialize) matching upstream
partial-notes.md .call(&mut context)self.call(), fix prepare_private_balance_increase arity (1 param, not 2)
transaction-lifecycle.md .call(self.context)self.call()

Note on MCP server

The initial MCP sync reported success but served stale data from a different version, causing incorrect initial findings (e.g. simulate_utility instead of execute_utility). All fixes were cross-checked against gh api with ?ref=v4.2.0-aztecnr-rc.2 before finalizing. A forced re-sync resolved the MCP issue.

Test plan

  • Verify aztec_sync_repos({ version: "v4.2.0-aztecnr-rc.2", force: true }) succeeds
  • Spot-check code snippets against aztec-packages @ v4.2.0-aztecnr-rc.2
  • Confirm scaffold Nargo.toml and package.json deps resolve for the new version

🤖 Generated with Claude Code

critesjosh and others added 2 commits March 30, 2026 16:25
Update all version references from v4.1.0-rc.2 to v4.2.0-aztecnr-rc.2
and fix code snippets verified against the actual GitHub source at that tag.

Version bump across config, docs, and scaffold (9 files).
Syntax fixes verified against GitHub (4 files):
- GENERATOR_INDEX__NOTE_HASH → DOM_SEP__NOTE_HASH (data-types.md)
- Remove explicit owner/randomness from #[note] struct examples (notes.md)
- UintNote::new() → struct literal, U128 → u128 (notes.md)
- self.emit(note, ...) → .insert().deliver_to() (notes.md)
- .call(&mut context) → self.call(), fix arity (partial-notes.md)
- .call(self.context) → self.call() (transaction-lifecycle.md)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@critesjosh
critesjosh merged commit 6a65a06 into main Mar 30, 2026
1 check passed
@critesjosh
critesjosh deleted the chore/upgrade-aztec-v4.2.0-aztecnr-rc.2 branch March 30, 2026 20:29
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