Skip to content

feat(pxe)!: allow apps to inject tagging secrets into getPendingTaggedLogs#23777

Merged
nchamo merged 8 commits into
merge-train/fairiesfrom
nchamo/get-tagged-logs-improvement
Jun 3, 2026
Merged

feat(pxe)!: allow apps to inject tagging secrets into getPendingTaggedLogs#23777
nchamo merged 8 commits into
merge-train/fairiesfrom
nchamo/get-tagged-logs-improvement

Conversation

@nchamo
Copy link
Copy Markdown
Contributor

@nchamo nchamo commented Jun 1, 2026

Why we are doing this

The private-message tagging system needs to support handshake-derived secrets, which PXE cannot enumerate on its own. Today get_pending_tagged_logs only searches secrets PXE derives internally from registered senders and local accounts.

Our fix

Adds a provided_secrets: EphemeralArray<ProvidedSecret> parameter to the aztec_utl_getPendingTaggedLogs oracle. Each ProvidedSecret carries a raw secret and a mode (unconstrained or constrained). Provided secrets are merged with PXE-derived secrets and fed into the existing windowed scan — no new search logic required.

Fixes F-658

@nchamo nchamo requested a review from nventuro as a code owner June 1, 2026 19:32
@nchamo nchamo self-assigned this Jun 1, 2026
Comment thread noir-projects/aztec-nr/aztec/src/messages/discovery/mod.nr
@nchamo nchamo requested a review from vezenovm June 1, 2026 22:35
Comment thread noir-projects/aztec-nr/aztec/src/messages/discovery/mod.nr
nchamo added 4 commits June 3, 2026 15:51
…/get-tagged-logs-improvement

# Conflicts:
#	noir-projects/aztec-nr/aztec/src/standard_addresses.nr
#	noir-projects/noir-contracts/contracts/protocol/aztec_sublib/src/standard_addresses.nr
#	noir-projects/noir-contracts/pinned-standard-contracts.tar.gz
#	yarn-project/pxe/src/contract_function_simulator/index.ts
#	yarn-project/pxe/src/contract_function_simulator/oracle/oracle_registry.ts
#	yarn-project/standard-contracts/src/standard_contract_data.ts
#	yarn-project/txe/src/rpc_translator.ts
@nchamo nchamo merged commit 7fdf1a3 into merge-train/fairies Jun 3, 2026
12 checks passed
@nchamo nchamo deleted the nchamo/get-tagged-logs-improvement branch June 3, 2026 17:32
danielntmd pushed a commit to danielntmd/aztec-packages that referenced this pull request Jun 4, 2026
BEGIN_COMMIT_OVERRIDE
chore: document browser kv-store backend migration (AztecProtocol#23779)
feat(aztec-nr): Compute unconstrained tag in Noir over PXE and
generalize get_next_tagging_index oracle (AztecProtocol#23796)
refactor(txe): migrate rpc_translator to typed oracle registry (AztecProtocol#23530)
feat(pxe)!: allow apps to inject tagging secrets into
getPendingTaggedLogs (AztecProtocol#23777)
feat(txe): add oracle roundtrip test framework (AztecProtocol#23537)
fix: embedded wallet defaults to proposed (AztecProtocol#23819)
feat(aztec-nr): discover non-interactive handshakes in the registry
(AztecProtocol#23806)
refactor(txe): normalize deploy and addAccount to oracle registry
(AztecProtocol#23536)
fix: wait for checkpoint during sandbox setup (AztecProtocol#23834)
feat(standard-contracts): graduate handshake registry to standard
contract (AztecProtocol#23833)
END_COMMIT_OVERRIDE
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