diff --git a/src/boilerplate/orchestration/javascript/raw/toOrchestration.ts b/src/boilerplate/orchestration/javascript/raw/toOrchestration.ts index 2340578d..2c5390f5 100644 --- a/src/boilerplate/orchestration/javascript/raw/toOrchestration.ts +++ b/src/boilerplate/orchestration/javascript/raw/toOrchestration.ts @@ -897,7 +897,7 @@ export const OrchestrationCodeBoilerPlate: any = (node: any) => { if(node.returnInputs[0]) { node.returnInputs.forEach((input: any) => { - input == 'true' ? returnInputs.push(`1`) : input == 'false' ? returnInputs.push(`0`) : returnInputs.push(input); + input == 'true' ? returnInputs.push(`1`) : input == 'false' ? returnInputs.push(`0`) : returnInputs.push(input+'.integer'); }) } diff --git a/src/codeGenerators/orchestration/files/toOrchestration.ts b/src/codeGenerators/orchestration/files/toOrchestration.ts index 6c55321e..b491ef57 100644 --- a/src/codeGenerators/orchestration/files/toOrchestration.ts +++ b/src/codeGenerators/orchestration/files/toOrchestration.ts @@ -572,7 +572,7 @@ const prepareBackupVariable = (node: any) => { deleteCommitmentsByState(requestedName, null); - const instance = await getContractInstance("AssignShield"); + const instance = await getContractInstance("CONTRACT_NAME"); const backDataEvent = await instance.getPastEvents("EncryptedBackupData", { fromBlock: 0,