Skip to content

fix: dont panic on note msgs on contracts with no notes - #24852

Merged
nventuro merged 4 commits into
merge-train/fairies-v5from
nico/f-833-aztec-packages-aztec-nr-no-notes-contracts-macro-generated
Jul 21, 2026
Merged

fix: dont panic on note msgs on contracts with no notes#24852
nventuro merged 4 commits into
merge-train/fairies-v5from
nico/f-833-aztec-packages-aztec-nr-no-notes-contracts-macro-generated

Conversation

@nventuro

Copy link
Copy Markdown
Contributor

A contract with no notes might otherwise panic if e.g. it processed an offchain message related to one. I also made PXE skip the standard contracts that have no notes and events, both to avoid such a situation and because there's no need to do it.

@nventuro
nventuro requested a review from nchamo July 21, 2026 16:47
Comment thread yarn-project/pxe/src/contract/skip_sync_contracts.ts
@nventuro
nventuro enabled auto-merge (squash) July 21, 2026 19:05
@nventuro
nventuro merged commit dfcdea6 into merge-train/fairies-v5 Jul 21, 2026
12 checks passed
@nventuro
nventuro deleted the nico/f-833-aztec-packages-aztec-nr-no-notes-contracts-macro-generated branch July 21, 2026 19:11
rangozd pushed a commit to rangozd/aztec-packages that referenced this pull request Aug 5, 2026
…l#24852)

A contract with no notes might otherwise panic if e.g. it processed an
offchain message related to one. I also made PXE skip the standard
contracts that have no notes and events, both to avoid such a situation
and because there's no need to do it.

(cherry picked from commit dfcdea6)
rangozd pushed a commit to rangozd/aztec-packages that referenced this pull request Aug 5, 2026
…ztecProtocol#24931)

Forward-ports the **noir / aztec-nr / contracts** slice of the v5-next →
next backlog (work merged to `v5-next` after the ~2026-07-08 cut that
reshaped `next`).

## Applied (clean cherry-picks, chronological)
- fix: prevent reception of messages too far into the future (AztecProtocol#24645)
- fix(aztec-nr): reject infinity ephemeral key in message encryption
(AztecProtocol#24665)
- fix(aztec-nr): tolerate malformed partial-note completion logs
(AztecProtocol#24668)
- docs(aztec-nr): document partial note completion trust model (AztecProtocol#24816)
- refactor(aztec-nr): shared no-op sync handler for stateless contracts
(AztecProtocol#24844)
- fix: dont panic on note msgs on contracts with no notes (AztecProtocol#24852)
- docs(noir-contracts): document standard-contract re-pin consequences
(AztecProtocol#24890)

## ⚠️ Needs owner conflict-resolution (conflict against reshaped `next`;
not included here)
Cherry-pick onto this branch and resolve:
- [ ] `git cherry-pick -x 9f1167e` — feat!: make inbox secrets be
multiple fields (AztecProtocol#24599)
- [ ] `git cherry-pick -x 4490597` — fix(aztec-nr): prevent recipient
forging a colliding handshake (AztecProtocol#24403)
- [ ] `git cherry-pick -x 8b1903c` — feat!: forbid external note
validation checks (AztecProtocol#24644)
- [ ] `git cherry-pick -x 10e339a` — fix(aztec-nr)!: compute note
property selectors from the packed layout (AztecProtocol#24689)
- [ ] `git cherry-pick -x 15c7a1e` — chore: clarify scope of packable
impl detection (AztecProtocol#24820)
- [ ] `git cherry-pick -x f66808c` — fix: change init and single
claim nullif to incl owner address, add testing utilities (AztecProtocol#24892)

Part of the manual v5-next → next backlog sweep. Draft until conflicts
are resolved and CI is green.
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.

2 participants