Skip to content

feat: merge-train/fairies#23141

Merged
AztecBot merged 10 commits into
nextfrom
merge-train/fairies
May 11, 2026
Merged

feat: merge-train/fairies#23141
AztecBot merged 10 commits into
nextfrom
merge-train/fairies

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

@AztecBot AztecBot commented May 11, 2026

BEGIN_COMMIT_OVERRIDE
refactor(pxe): use findLeavesIndexes for read request verification (#23123)
refactor(pxe): skip storage reads for never-updated contracts (#23131)
fix(pxe): skip registerContractFunctionSignatures when no public fns (#23134)
refactor(pxe): prefetch updated class id hints per unique contract (#23130)
chore(aztec-nr): Public self constructor function to prevent static byte code size blow up (#23062)
refactor(pxe): avoid expensive toTx() call when computing tx hash (#23136)
END_COMMIT_OVERRIDE

AztecBot and others added 4 commits May 11, 2026 12:45
…yte code size blow up (#23062)

Resolves
[F-637](https://linear.app/aztec-labs/issue/F-637/aztec-nr-macros-contain-self-construction-to-a-function-to-prevent)

Stacks on #23061

- New `generate_public_self_creator` emits a per-contract
`__aztec_nr_internals__create_public_self<let N: u32>()` helper
- `generate_public_external` now emits a single call to it instead of
inlining the preamble. This can be seen in the snapshots.
- Helper is emitted from `process_functions` and gated on
`public_functions.len() > 0`

~~Improvements tested locally:~~

I need to test further. Either way this is cleaner macro code.
@vezenovm vezenovm requested a review from nventuro as a code owner May 11, 2026 16:32
Copy link
Copy Markdown
Collaborator

@ludamad ludamad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Auto-approved

@AztecBot AztecBot added this pull request to the merge queue May 11, 2026
@AztecBot
Copy link
Copy Markdown
Collaborator Author

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

Merged via the queue into next with commit b0185eb May 11, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants