Skip to content

fix: backport restrict setSenderForTags override to current call (#22672)#22767

Merged
nchamo merged 2 commits intobackport-to-v4-next-stagingfrom
claudebox/backport-22672-v4-next
Apr 24, 2026
Merged

fix: backport restrict setSenderForTags override to current call (#22672)#22767
nchamo merged 2 commits intobackport-to-v4-next-stagingfrom
claudebox/backport-22672-v4-next

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

Backport of #22672fix(pxe): restrict setSenderForTags override to current call (F-564).

Cherry-pick

Cherry-pick of efc29f75ba017e5f2077b23130fb4dec31ca568a produced 4 conflicts. Per the 3-commit backport protocol, the commits are:

  1. cherry-pick: ... (with conflicts) — raw cherry-pick with conflict markers, for review visibility.
  2. fix: resolve cherry-pick conflicts — removes the conflict markers.

No build-fixes commit is needed: the files touched by the backport compile cleanly after conflict resolution.

Conflict resolutions

  • docs/.../migration_notes.md — kept HEAD. The incoming diff contained an unrelated [Protocol] Domain separators ... section from a different commit on next; the two legitimate PR fix(pxe): restrict setSenderForTags override to current call (F-564) #22672 entries auto-merged into the ## TBD section at the top of the file.
  • yarn-project/aztec.js/src/wallet/deploy_account_method.ts — kept HEAD's richer return type SendOptions<W extends { returnReceipt: true } ? WaitOpts : W> and its eslint-disable comment (those are v4-next state, unrelated to this PR), and applied the intended rename injectContractAddressIntoScopesprepareDeployOptions.
  • yarn-project/pxe/src/contract_function_simulator/oracle/private_execution_oracle.ts — kept log: this.logger (backport-branch state) and applied the field rename senderForTagsdefaultSenderForTags.
  • yarn-project/pxe/src/pxe.ts (#executePrivate + its three call sites) — adopted the object-destructuring signature and added senderForTags, but kept the backport branch's internal anchorBlockHeader fetch (the backport branch fetches it inside #executePrivate, whereas next passes it in from callers).

Analysis

Full write-up: https://gist.github.com/AztecBot/a38189c234928b7f50c218cb3caafea4

ClaudeBox log: https://claudebox.work/s/9d1daacca83ec10b?run=1

@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Apr 24, 2026
@nchamo nchamo self-assigned this Apr 24, 2026
@nchamo nchamo changed the title backport(v4-next): fix(pxe): restrict setSenderForTags override to current call (#22672) backport(v4-next): restrict setSenderForTags override to current call (#22672) Apr 24, 2026
@nchamo nchamo changed the title backport(v4-next): restrict setSenderForTags override to current call (#22672) fix: backport restrict setSenderForTags override to current call (#22672) Apr 24, 2026
@nchamo nchamo marked this pull request as ready for review April 24, 2026 14:55
@nchamo nchamo requested a review from nventuro as a code owner April 24, 2026 14:55
@nchamo nchamo merged commit bbbada4 into backport-to-v4-next-staging Apr 24, 2026
25 of 30 checks passed
@nchamo nchamo deleted the claudebox/backport-22672-v4-next branch April 24, 2026 14:56
AztecBot added a commit that referenced this pull request Apr 27, 2026
BEGIN_COMMIT_OVERRIDE
feat(aztec)!: add counter template for aztec init (#22751)
cherry-pick: fix(pxe): restrict setSenderForTags override to current
call (F-564) (#22672) (with conflicts)
fix: backport restrict setSenderForTags override to current call
(#22672) (#22767)
fix(pxe): backport anchor header threading from #22679 to v4-next
(#22705)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. 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