@@ -456,7 +456,7 @@ const addMainFunctionCall: TxExecutionRequestAdapter = (
456
456
Define a helper somewhere as:
457
457
458
458
``` ts
459
- const addClassRegistration = (
459
+ const addContractClassRegistration = (
460
460
builder : TxExecutionRequestBuilder , call : UserFunctionCall
461
461
) => {
462
462
if (! call .contractArtifact ) {
@@ -494,7 +494,7 @@ Define a helper somewhere as
494
494
495
495
``` ts
496
496
497
- const addPublicDeployment = (
497
+ const addPublicContractDeployment = (
498
498
builder : TxExecutionRequestBuilder , call : UserFunctionCall
499
499
) => {
500
500
const { artifact, instance } = getCanonicalInstanceDeployer ();
@@ -591,10 +591,10 @@ async getTxExecutionRequest(userRequest: UserRequest): Promise<TxExecutionReques
591
591
for (const call of request.calls) {
592
592
addMainFunctionCall (builder , call );
593
593
if (call .deploymentOptions ?.registerClass ) {
594
- addClassRegistration (builder , call );
594
+ addContractClassRegistration (builder , call );
595
595
}
596
596
if (call .deploymentOptions ?.publicDeploy ) {
597
- addPublicDeployment (builder , call );
597
+ addPublicContractDeployment (builder , call );
598
598
}
599
599
// if the user is giving us an artifact,
600
600
// allow the PXE to access it
0 commit comments