Skip to content

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

Open
nchamo wants to merge 1 commit intomerge-train/fairiesfrom
nchamo/register-contract
Open

fix(pxe): skip registerContractFunctionSignatures when no public fns#23134
nchamo wants to merge 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant