diff --git a/src/transformers/visitors/toOrchestrationVisitor.ts b/src/transformers/visitors/toOrchestrationVisitor.ts index 2fae2469b..9bb1e5e3c 100644 --- a/src/transformers/visitors/toOrchestrationVisitor.ts +++ b/src/transformers/visitors/toOrchestrationVisitor.ts @@ -245,9 +245,11 @@ const visitor = { if (file.nodeType === 'SetupCommonFilesBoilerplate') { file.constructorParams = state.constructorParams; file.contractImports = state.contractImports; - if(state.isjoinSplitCommitmentsFunction?.includes('true')) + if(state.isjoinSplitCommitmentsFunction?.includes('true')){ file.functionNames.push('joinCommitments'); file.functionNames.push('splitCommitments'); + } + } if (file.nodes?.[0].nodeType === 'IntegrationTestBoilerplate') { file.nodes[0].constructorParams = state.constructorParams;