Skip to content

fix(pxe): skip registerContractFunctionSignatures when no public fns#23134

Merged
nchamo merged 1 commit intomerge-train/fairiesfrom
nchamo/register-contract
May 11, 2026
Merged

fix(pxe): skip registerContractFunctionSignatures when no public fns#23134
nchamo merged 1 commit intomerge-train/fairiesfrom
nchamo/register-contract

Conversation

@nchamo
Copy link
Copy Markdown
Contributor

@nchamo nchamo commented May 10, 2026

Summary

  • Skip the registerContractFunctionSignatures node call in registerContract and updateContract when the artifact has no public functions, avoiding an unnecessary RPC for purely-private contracts.
  • Add PXE tests covering both the no-public-fn skip case and the public-fn registration case.

@nchamo nchamo self-assigned this May 10, 2026
@nchamo nchamo requested a review from Thunkar May 10, 2026 13:32
@nchamo nchamo merged commit 572a734 into merge-train/fairies May 11, 2026
29 checks passed
@nchamo nchamo deleted the nchamo/register-contract branch May 11, 2026 11:37
@AztecBot
Copy link
Copy Markdown
Collaborator

✅ Successfully backported to backport-to-v4-next-staging #23142.

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.

3 participants