From 239b3a12ad3eca5b3255619ed8e74e1c8204bb44 Mon Sep 17 00:00:00 2001 From: Nenad Misic Date: Fri, 21 Jul 2023 21:29:19 +0200 Subject: [PATCH] Redeploy CharityApplications contract (#220) * Fix scripts calls ('...:CharityApplication' -> '...:CharityApplications') * Deploy new CharityApplications --- contract-address.json | 4 ++-- tasks/deploy/deployAccountsDiamond.ts | 2 +- tasks/upgrade/upgradeContractsUsingAccountStorage.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contract-address.json b/contract-address.json index e4463447a..ba30a9bad 100644 --- a/contract-address.json +++ b/contract-address.json @@ -267,8 +267,8 @@ }, "multiSig": { "charityApplications": { - "implementation": "0xe657852734f2c5215a5e8A69EF564eAfAFfb81bC", - "proxy": "0x3769916a8c97FFf1C48DE49b03181578576aFdF1" + "implementation": "0xE2Af564F27EE4a6721f1650f9FAa975a11Fdc50F", + "proxy": "0x4cb1E5cc57a5cEb38C0087300cFdDDE3a08B3694" }, "apTeam": { "implementation": "0xC944590c3fe90e97129ac5AF077DCFB229f3A909", diff --git a/tasks/deploy/deployAccountsDiamond.ts b/tasks/deploy/deployAccountsDiamond.ts index f6847ce8d..2eb5180be 100644 --- a/tasks/deploy/deployAccountsDiamond.ts +++ b/tasks/deploy/deployAccountsDiamond.ts @@ -44,7 +44,7 @@ task("AccountsDiamond", "It will deploy accounts diamond contracts") {accountsContract: deployData.diamond.address}, hre ); - await hre.run("manage:CharityApplication:updateConfig", { + await hre.run("manage:CharityApplications:updateConfig", { accountsDiamond: deployData.diamond.address, yes: true, }); diff --git a/tasks/upgrade/upgradeContractsUsingAccountStorage.ts b/tasks/upgrade/upgradeContractsUsingAccountStorage.ts index ac990aa71..517fe29c3 100644 --- a/tasks/upgrade/upgradeContractsUsingAccountStorage.ts +++ b/tasks/upgrade/upgradeContractsUsingAccountStorage.ts @@ -15,7 +15,7 @@ task( return logger.out("Confirmation denied.", logger.Level.Warn); } - await hre.run("upgrade:CharityApplication", {skipVerify: taskArgs.skipVerify, yes: true}); + await hre.run("upgrade:CharityApplications", {skipVerify: taskArgs.skipVerify, yes: true}); await hre.run("upgrade:facets", { facets: ["all"], skipVerify: taskArgs.skipVerify,