Skip to content

feat!: emit anchor block timestamp for offchain messages (backport #21414)#21483

Merged
ludamad merged 2 commits intobackport-to-v4-next-stagingfrom
claudebox/backport-21414-anchor-block-timestamp
Mar 13, 2026
Merged

feat!: emit anchor block timestamp for offchain messages (backport #21414)#21483
ludamad merged 2 commits intobackport-to-v4-next-stagingfrom
claudebox/backport-21414-anchor-block-timestamp

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Mar 13, 2026

Summary

Backport of #21414 to v4-next.

Changes offchain messages to track anchor block timestamp for lifecycle management instead of transaction TTL. Adds anchorBlockTimestamp field to OffchainMessage type and passes it through all code paths that create offchain messages.

Conflict Resolution

Rebased onto latest backport-to-v4-next-staging (which now includes the offchain reception backport #20893). Only one conflict remained in batch_call.test.ts — accepted the new test cases from the original PR.

Verification

  • yarn-project builds successfully
  • All unit tests pass (interaction_options.test.ts, batch_call.test.ts)

ClaudeBox log: https://claudebox.work/s/f59343e7af96e770?run=2

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Mar 13, 2026
@AztecBot AztecBot force-pushed the claudebox/backport-21414-anchor-block-timestamp branch from 6ac2cdf to 56a35ff Compare March 13, 2026 11:59
@AztecBot AztecBot changed the base branch from backport-to-v4-next-staging to claudebox/backport-21387-bb-binary-v4-next March 13, 2026 12:00
@AztecBot AztecBot force-pushed the claudebox/backport-21414-anchor-block-timestamp branch from 56a35ff to 346d399 Compare March 13, 2026 12:00
@AztecBot AztecBot changed the base branch from claudebox/backport-21387-bb-binary-v4-next to backport-to-v4-next-staging March 13, 2026 12:03
@AztecBot AztecBot changed the base branch from backport-to-v4-next-staging to claudebox/backport-21387-bb-binary-v4-next March 13, 2026 12:08
Copy link
Contributor

@mverzilli mverzilli left a comment

Choose a reason for hiding this comment

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

Looks good now, need to wait for stack to pop

@AztecBot AztecBot force-pushed the claudebox/backport-21387-bb-binary-v4-next branch from 9ddc055 to 2768ae3 Compare March 13, 2026 16:09
@AztecBot AztecBot force-pushed the claudebox/backport-21414-anchor-block-timestamp branch from 346d399 to ed1f0bf Compare March 13, 2026 16:17
Base automatically changed from claudebox/backport-21387-bb-binary-v4-next to backport-to-v4-next-staging March 13, 2026 16:54
@ludamad ludamad marked this pull request as ready for review March 13, 2026 16:54
@ludamad ludamad requested a review from nventuro as a code owner March 13, 2026 16:54
@ludamad ludamad enabled auto-merge March 13, 2026 16:54
@ludamad ludamad merged commit bbb69ec into backport-to-v4-next-staging Mar 13, 2026
9 checks passed
@ludamad ludamad deleted the claudebox/backport-21414-anchor-block-timestamp branch March 13, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants