From 892f1a6198520264b77efb0bd4d6f3a7620e62f0 Mon Sep 17 00:00:00 2001 From: Swati Rawal Date: Tue, 8 Oct 2024 14:36:06 +0100 Subject: [PATCH] chore: fixed the contract name in backup --- src/codeGenerators/orchestration/files/toOrchestration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,