Skip to content

feat: support emitting messages from utilities (backport #21422)#21551

Merged
mverzilli merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/backport-21422-utility-offchain-messages
Mar 16, 2026
Merged

feat: support emitting messages from utilities (backport #21422)#21551
mverzilli merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/backport-21422-utility-offchain-messages

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Mar 13, 2026

Summary

Backport of #21422 to v4-next via backport-to-v4-next-staging.

Makes it possible to emit offchain messages by making the corresponding oracle available to utilities, and bubbling the relevant information all the way up to the wallet/aztecjs results.

Changes

Cherry-pick of dc9053c1213eaf3780cfd575cbd66c10dabda40d onto backport-to-v4-next-staging. Only 2 conflicts needed resolution:

  • private_execution.ts: Applied offchainEffects.map(e => ({ data: e.data })) mapping (strips contractAddress for PrivateCallExecutionResult), kept preTags (v4-next naming vs taggingIndexRanges on next)
  • private_execution_oracle.ts: Removed getOffchainEffects() from PrivateExecutionOracle (now inherited from parent UtilityExecutionOracle), kept v4-next doc comment naming

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Mar 13, 2026
Makes it possible to emit offchain messages by making the corresponding
oracle available to utilities, and bubbling the relevant information all
the way up to the wallet/aztecjs results.

Closes F-427
@AztecBot AztecBot changed the title feat: support emitting messages from utilities (#21422) [v4-next backport] feat: support emitting messages from utilities (backport #21422) Mar 16, 2026
@AztecBot AztecBot force-pushed the claudebox/backport-21422-utility-offchain-messages branch from 2997a4b to 3c11df2 Compare March 16, 2026 08:53
@mverzilli mverzilli marked this pull request as ready for review March 16, 2026 09:27
@mverzilli mverzilli requested a review from nventuro as a code owner March 16, 2026 09:27
@mverzilli mverzilli enabled auto-merge (squash) March 16, 2026 09:28
@AztecBot
Copy link
Collaborator Author

Flakey Tests

🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry.

\033FLAKED\033 (8;;http://ci.aztec-labs.com/00162ed3eba560cd�00162ed3eba560cd8;;�):  yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_epochs/epochs_l1_reorgs.parallel.test.ts "updates L1 to L2 messages changed due to an L1 reorg" (67s) (code: 0) group:e2e-p2p-epoch-flakes

@mverzilli mverzilli merged commit 169dc49 into backport-to-v4-next-staging Mar 16, 2026
20 of 22 checks passed
@mverzilli mverzilli deleted the claudebox/backport-21422-utility-offchain-messages branch March 16, 2026 09:47
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.

2 participants