Skip to content

feat(aztec-nr): wire constrained tagging into message delivery#23867

Open
vezenovm wants to merge 1 commit into
mv/f-669-constrained-delivery-helpersfrom
mv/f-670-constrained-delivery
Open

feat(aztec-nr): wire constrained tagging into message delivery#23867
vezenovm wants to merge 1 commit into
mv/f-669-constrained-delivery-helpersfrom
mv/f-670-constrained-delivery

Conversation

@vezenovm
Copy link
Copy Markdown
Contributor

@vezenovm vezenovm commented Jun 4, 2026

Fixes F-670

  • The constrained branch of do_private_message_delivery resolves the handshake secret, emits the per-send chain nullifier, and derives the constrained log tag.
  • Adds compute_constrained_log_tag and emit_nullifier_and_compute_constrained_tag.
  • TXE tests cover note, maybe-note, and event delivery advancing the index chain, plus the missing-nullifier failure case. Adds e2e_constrained_delivery.test.ts.

Stacked on #23865 (F-697) and #23866 (F-669).

Add emit_nullifier_and_compute_constrained_tag (and compute_constrained_log_tag)
and replace the builder's mocked constrained tagging with the real handshake-
derived discovery tag plus the per-send chain nullifier. Extend the test
contract with constrained note / maybe-note / event delivery and the negative
nullifier-chain case, and add an end-to-end test.

NOTE: the e2e and contract TXE tests require the TXE harness (yarn-project/txe
server) to run. The e2e test predates fairies' handshake-registry graduation
(#23833) and recipient-side discovery (#23806); reconcile it with the new
discovery before relying on it.
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