Skip to content

feat: merge-train/fairies#21480

Merged
AztecBot merged 9 commits intonextfrom
merge-train/fairies
Mar 13, 2026
Merged

feat: merge-train/fairies#21480
AztecBot merged 9 commits intonextfrom
merge-train/fairies

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Mar 13, 2026

BEGIN_COMMIT_OVERRIDE
feat!: emit anchor block timestamp for offchain messages (#21414)
fix(aztec-nr): warn on unknown note type id in compute_note_hash_and_nullifier (#21491)
END_COMMIT_OVERRIDE

Changes offchain messages to track anchor block timestamp for lifecycle
management instead of transaction TTL. This gives as an objective point
in time to place the emission of offchain messages that is valid for
both private and utility methods.

This is in preparation to make utility methods allow emission of
offchain messages.

I'm adding a bunch of unit tests to make sure all proper code paths that
need to produce offchain messages in Aztec.js and wallet code are
exercised. Admittedly, the tests are not as I would want them:
1. They rely too much on mocks.
2. There's a lot of repetition.

I think this is a symptom of us missing some more abstractions in our JS
contract interaction management code, which is out of scope of this PR.

Closes F-423
Copy link
Collaborator

@ludamad ludamad left a comment

Choose a reason for hiding this comment

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

🤖 Auto-approved

@AztecBot AztecBot added this pull request to the merge queue Mar 13, 2026
@AztecBot
Copy link
Collaborator Author

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

Merged via the queue into next with commit 57b7dd6 Mar 13, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants