Skip to content

feat(aztec-nr): add constrained message sending helper#23641

Draft
vezenovm wants to merge 6 commits into
maxim/f-669-aztec-nr-calculate_secret_and_index-helper-for-constrainedfrom
maxim/f-670-aztec-nr-send_constrained_msg-helper-that-emits-a
Draft

feat(aztec-nr): add constrained message sending helper#23641
vezenovm wants to merge 6 commits into
maxim/f-669-aztec-nr-calculate_secret_and_index-helper-for-constrainedfrom
maxim/f-670-aztec-nr-send_constrained_msg-helper-that-emits-a

Conversation

@vezenovm
Copy link
Copy Markdown
Contributor

@vezenovm vezenovm commented May 28, 2026

Fixes F-670

Stacked on #23569.

@vezenovm vezenovm force-pushed the maxim/f-670-aztec-nr-send_constrained_msg-helper-that-emits-a branch from ac545ff to 44fb21f Compare May 28, 2026 18:53
@vezenovm vezenovm added the ci-draft Run CI on draft PRs. label May 28, 2026
vezenovm added 4 commits May 28, 2026 15:42
…for-constrained' into maxim/f-670-aztec-nr-send_constrained_msg-helper-that-emits-a
…for-constrained' into maxim/f-670-aztec-nr-send_constrained_msg-helper-that-emits-a
…ained_msg-helper-that-emits-a' into maxim/f-670-aztec-nr-send_constrained_msg-helper-that-emits-a

/// Same as [`deliver_constrained`](NoteMessage::deliver_constrained), except the message gets delivered to an
/// arbitrary `recipient` instead of the note owner.
pub fn deliver_to_constrained(self, registry: AztecAddress, sender: AztecAddress, recipient: AztecAddress) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These deliver_to_constrained methods were added to not break the pre-existing APIs. We should utilize the builder pattern here once #23619 lands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant