Skip to content

fix: TxEffect deserializability (forward port of #25109) - #25295

Open
mverzilli wants to merge 1 commit into
nextfrom
martin/tx-effect-deserializability
Open

fix: TxEffect deserializability (forward port of #25109)#25295
mverzilli wants to merge 1 commit into
nextfrom
martin/tx-effect-deserializability

Conversation

@mverzilli

Copy link
Copy Markdown
Contributor

Forward-ports #25109 to next.

The batch oracle's Noir wrapper get_tx_effects returns an EphemeralArray<Option<TxEffect>>, but reading an element out of an EphemeralArray requires the element type to implement Deserialize, which TxEffect does not — so a contract can obtain the array and ask for its length, but any attempt to read an element fails to compile.

#25109 fixed this on the v5 line (shipped in v5.2.0), but the fnd/labs split (#25007) copied tx_effect.nr to its new location on next before the fix landed there, so next never received it. This applies the same change; the resulting file is byte-identical to the one shipped in v5.2.0.

The contract-side test coverage from the original PR is ported to the labs repo (aztec-labs-eng/aztec-node), where it is blocked on a nightly tag containing this change.

@mverzilli
mverzilli requested a review from LeilaWang as a code owner August 24, 2026 14:39
@mverzilli
mverzilli requested review from nchamo and nventuro and removed request for LeilaWang August 24, 2026 14:45
@mverzilli
mverzilli added this pull request to the merge queue Aug 24, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 24, 2026
@mverzilli mverzilli added the ci-full Run all master checks. label Aug 25, 2026
@mverzilli
mverzilli added this pull request to the merge queue Aug 25, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run all master checks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants