From a64959a85d6ef1671e4ed31196ebebbb77e8e181 Mon Sep 17 00:00:00 2001 From: Swati Rawal Date: Thu, 4 Apr 2024 11:51:05 +0100 Subject: [PATCH] chore: bug fix --- src/transformers/visitors/toOrchestrationVisitor.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;