You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(pxe): support custom PrivateKernelProver and unify EmbeddedWalletOptions (backport #22348) (#22391)
## Summary
Backport of #22348
to v4-next.
Cherry-pick of merge commit cac2411 with one conflict in
`migration_notes.md` (trivially resolved — empty HEAD side, accepted
incoming migration note).
### Changes
- Replace `instanceof BBPrivateKernelProver` with duck-type
`isPrivateKernelProver()` check using `createChonkProof` as
distinguishing method
- Unify `pxeConfig`/`pxeOptions` into single `pxe` field on
`EmbeddedWalletOptions`
- Add `splitPxeOptions` helper and `EmbeddedWalletPXEOptions` type
- Add migration note for the API change
### Commit structure (3-commit backport)
1. Cherry-pick with conflict markers as-is
2. Conflict resolution (accept migration note)
ClaudeBox log: https://claudebox.work/s/947bc828b6966f6c?run=1
Copy file name to clipboardExpand all lines: docs/docs-developers/docs/resources/migration_notes.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,22 @@ FPCs that use only Fee Juice still work on all networks, since FeeJuice is a pro
91
91
92
92
Similarly, the `fpc-public` and `fpc-private` CLI wallet payment methods use the reference Token-based FPC and will not work on public networks. Use `fee_juice` for direct Fee Juice payment, or `fpc-sponsored` on devnet and local network.
93
93
94
+
### [aztec.js]`EmbeddedWalletOptions` now uses a unified `pxe` field
95
+
96
+
The `pxeConfig` and `pxeOptions` fields on `EmbeddedWalletOptions` have been deprecated in favor of a single `pxe` field that accepts both PXE configuration and dependency overrides (custom prover, store, simulator):
0 commit comments