Skip to content

fix(docs): update CLI commands, ABI fields, and tutorial fixes#22160

Merged
AztecBot merged 1 commit intonextfrom
docs/fix-tutorial-cli-and-abi-updates
Mar 30, 2026
Merged

fix(docs): update CLI commands, ABI fields, and tutorial fixes#22160
AztecBot merged 1 commit intonextfrom
docs/fix-tutorial-cli-and-abi-updates

Conversation

@critesjosh
Copy link
Copy Markdown
Contributor

Summary

  • Update aztec new CLI syntax to remove deprecated --contract flag in counter and recursive verification tutorials
  • Rename l2BlockNumber to checkpointNumber in Inbox ABI MessageSent event (token_bridge tutorial, example_swap, token_bridge example)
  • Remove unused @aztec/test-wallet package from token contract tutorial install commands
  • Fix import path and #include_code macro in recursive verification tutorial
  • Use approximate proof size (~500) instead of hardcoded 508

Test plan

  • Verify yarn build passes in docs/
  • Spot-check affected tutorial pages render correctly

@critesjosh critesjosh requested a review from a team as a code owner March 30, 2026 16:37
## Summary
- Update `aztec new` CLI syntax to remove deprecated `--contract` flag in counter and recursive verification tutorials
- Rename `l2BlockNumber` to `checkpointNumber` in Inbox ABI `MessageSent` event (token_bridge tutorial, example_swap, token_bridge example)
- Remove unused `@aztec/test-wallet` package from token contract tutorial install commands
- Fix import path and `#include_code` macro in recursive verification tutorial
- Use approximate proof size (`~500`) instead of hardcoded `508`

## Test plan
- [ ] Verify `yarn build` passes in `docs/`
- [ ] Spot-check affected tutorial pages render correctly
@AztecBot AztecBot force-pushed the docs/fix-tutorial-cli-and-abi-updates branch from 9b0e519 to 49e2563 Compare March 30, 2026 19:41
@AztecBot AztecBot added this pull request to the merge queue Mar 30, 2026
Merged via the queue into next with commit a9f25fa Mar 30, 2026
18 checks passed
@AztecBot AztecBot deleted the docs/fix-tutorial-cli-and-abi-updates branch March 30, 2026 20:15
@AztecBot
Copy link
Copy Markdown
Collaborator

❌ Failed to cherry-pick to v4-next due to conflicts. (🤖) View backport run.

critesjosh added a commit that referenced this pull request Mar 31, 2026
…orial fixes (#22165)

## Summary
Backport of #22160
to v4-next.

Cherry-pick had conflicts because the `version-v4.2.0-aztecnr-rc.2`
versioned docs and `example_swap` don't exist on v4-next (deleted).
Those changes were dropped. A content conflict in `counter_contract.md`
was resolved by taking the incoming (PR) version.

### Changes applied:
- Update `aztec new` CLI description in counter contract tutorial
- Remove unused `@aztec/test-wallet` from token contract tutorial
- Fix `#include_code` macro and import path in recursive verification
tutorial
- Update proof size comments from hardcoded `508` to `~500`
- Rename `l2BlockNumber` → `checkpointNumber` in token_bridge ABI

ClaudeBox log: https://claudebox.work/s/99e763f53ec8891b?run=1
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