chore: Accumulated backports to v4-next#22441
Merged
Conversation
Accept incoming migration note for EmbeddedWalletOptions pxe field.
…act changes - Remove SponsoredFPC from genesis computation (testnet deployed without it) - Update expected genesis archive root (verified against on-chain testnet L1) - Mix pinned artifact archive hashes into compatibility test cache prefix so the test cache busts when pinned-protocol-contracts.tar.gz or pinned-build.tar.gz change
Replace cache_content_hash (which requires full CI environment) with git hash-object for hashing pinned archive files directly.
Previous CI failure was unrelated (docs/example/bootstrap.sh), not the cache_content_hash call. Restore the correct approach.
…act changes (#22429) ## Summary Two changes to fix the testnet compatibility test breakage on v4-next: **1. Fix test to match actual testnet deployment** - Testnet was deployed without SponsoredFPC — remove it from genesis computation - Update expected genesis archive root to `0x15684c8c...` (verified against on-chain testnet L1 rollup at `0xf6d0...c1` on Sepolia) - All 3 values verified on-chain: VK tree root, protocol contracts hash, genesis archive root **2. Bust test cache when pinned artifacts change** - Mix hashes of `pinned-protocol-contracts.tar.gz`, `pinned-build.tar.gz` (VKs), and `mock-protocol-circuits/pinned-build.tar.gz` into the compatibility test cache prefix - This ensures the test re-runs whenever pinned artifacts are updated, preventing the CI cache from masking mismatches ## On-chain verification ``` $ cast call 0xf6d0...c1 "archiveAt(uint256)(bytes32)" 0 --rpc-url sepolia 0x15684c8c3d2106918d3860f777e50555b7166adff47df13cc652e2e5a50bf5c7 # genesis archive root $ cast storage 0xf6d0...c1 <config.vkTreeRoot slot> --rpc-url sepolia 0x1dd2644a17d1ddd8831287a78c5a1033b7ae35cdf2a3db833608856c062fc2ba # VK tree root $ cast storage 0xf6d0...c1 <config.protocolContractsHash slot> --rpc-url sepolia 0x2672340d9a0107a7b81e6d10d25b854debe613f3272e8738e8df0ca2ff297141 # protocol contracts hash ```
…Options (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
Implements a new type of array especially designed to use in oracle interfaces between Aztec.nr and PXE. The memory space of of these arrays is isolated by contract call frame and lives in memory. This makes them faster to work with, but it also removes the need for a lot of boilerplate to instantiate them, use them as params, and ultimately dispose of them. Closes F-136 --------- Co-authored-by: Jan Beneš <janbenes1234@gmail.com>
## Summary Fixes the `nargo fmt --check` failure on the backports PR #22441. The comment in `noir-projects/aztec-nr/aztec/src/messages/processing/mod.nr` exceeded the line width limit, causing the formatter to reject it. ## Test plan - CI `nargo fmt --check` should pass on the backports PR after this is merged into `backport-to-v4-next-staging` ClaudeBox log: https://claudebox.work/s/e09a3592270d40e2?run=1
Thunkar
approved these changes
Apr 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BEGIN_COMMIT_OVERRIDE
cherry-pick: fix(pxe): support custom PrivateKernelProver and unify EmbeddedWalletOptions (#22348)
fix: update testnet compatibility test and bust cache on pinned artifact changes (#22429)
fix(pxe): support custom PrivateKernelProver and unify EmbeddedWalletOptions (backport #22348) (#22391)
refactor!: ephemeral arrays (#22162)
END_COMMIT_OVERRIDE