You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to be able to find logs that were tagged following #9373. The logs will be obtained by getTaggedLogs (#9268), which requires a list of tags. #9373 defines tags as
let tag:Field = poseidon2([app_siloed_secret, recipient_address, index]);
recipient_address is simply the user's address, app_siloed_secret is obtained from #9365 for a given contract querying for logs, and index is a counter we must increment from whatever #9268 returned until we find no more logs (mirroring #9373). Once we're done, we use #9368 to update the recipient index, and instruct PXE to store any notes found via #9370.
The text was updated successfully, but these errors were encountered:
Closes: AztecProtocol/aztec-packages#9380
Implements the logic to sync tagged note logs from the node, taking into
account the indices of "last seen" ones.
Unfortunately, the approach of modularizing it as oracles and putting
the logic in the contract itself was met with limitations in noir
(namely, nested slices) and even the code is ready and close to becoming
separate oracles, it cannot be done (yet! or at least without major
caveats and performance implications)
We need to be able to find logs that were tagged following #9373. The logs will be obtained by
getTaggedLogs
(#9268), which requires a list of tags. #9373 defines tags asrecipient_address
is simply the user's address,app_siloed_secret
is obtained from #9365 for a given contract querying for logs, andindex
is a counter we must increment from whatever #9268 returned until we find no more logs (mirroring #9373). Once we're done, we use #9368 to update the recipient index, and instruct PXE to store any notes found via #9370.The text was updated successfully, but these errors were encountered: