refactor(aztec-nr): address constrained-delivery review comments#24217
Open
nchamo wants to merge 2 commits into
Open
refactor(aztec-nr): address constrained-delivery review comments#24217nchamo wants to merge 2 commits into
nchamo wants to merge 2 commits into
Conversation
Collaborator
Flakey Tests🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry. |
nchamo
commented
Jun 20, 2026
|
|
||
| **Onchain delivery with guaranteed correct content.** | ||
|
|
||
| **WARNING**: This mode is [currently NOT fully constrained](https://github.com/AztecProtocol/aztec-packages/issues/14565). The log's tag is unconstrained, meaning a malicious sender could prevent the recipient from finding the message. |
Contributor
Author
There was a problem hiding this comment.
Undid the changes to this doc, so we can do them all together in #24040. It's very hard to build good docs in small steps
nchamo
commented
Jun 20, 2026
| #### Registering known senders | ||
|
|
||
| To discover address-secret notes from a particular sender, the recipient's PXE must know the sender's address in advance so it can compute the shared tagging secret. Register senders using the wallet API: | ||
| To discover notes from a particular sender, the recipient's PXE must know the sender's address in advance so it can compute the shared tagging secret. Register senders using the wallet API: |
Contributor
Author
There was a problem hiding this comment.
Undid the changes to this doc, so we can do them all together in #24040. It's very hard to build good docs in small steps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses the review comments on #23866 (constrained message delivery). Branched off and based on that PR so these follow-up changes can be reviewed in isolation.
index > 0nullifier comment, switched secret resolution tomap/unwrap_or_else, and renamed "chain" -> "sequence" across code/tests to avoid colliding with the existing "chain" (blockchain) meaning.get_handshakesselector in the registry selector-match test, renamed the test helper toauthorizing, and dropped redundant TXE tests now covered by the e2e and unit suites (plus thedelivery_unconstrained_handshakecompile-failure pin).get_app_siloed_secretcaller-arg authorization check (avoids conflicting with feat(aztec-nr)!: add msg_sender to the utility context #24062), moved the registry-read helpers below the class, and reworked the cross-contract authorization test intoit.eachwith sharedbeforeEach/afterEach.pied!file that had been accidentally committed.The docs changes from the review are deferred to #24040, which owns the tagging-secret-source framing.