Skip to content

Commit 7bbe6df

Browse files
committed
chore: upgrade-all support for Shutter DK
1 parent 469039a commit 7bbe6df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contracts/deploy/upgrade-all.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const deployUpgradeAll: DeployFunction = async (hre: HardhatRuntimeEnvironment)
1515
const chainId = Number(await getChainId());
1616
console.log("upgrading on %s with deployer %s", HomeChains[chainId], deployer);
1717

18-
const { disputeKitClassic, disputeTemplateRegistry, evidence, core, policyRegistry, sortition } =
18+
const { disputeKitClassic, disputeKitShutter, disputeTemplateRegistry, evidence, core, policyRegistry, sortition } =
1919
await getContractNamesFromNetwork(hre);
2020

2121
const upgrade = async (contractName: string, initializer: string, args: any[]) => {
@@ -78,7 +78,8 @@ const deployUpgradeAll: DeployFunction = async (hre: HardhatRuntimeEnvironment)
7878
}
7979
};
8080

81-
await upgrade(disputeKitClassic, "initialize6", []);
81+
await upgrade(disputeKitClassic, "initialize7", []);
82+
await upgrade(disputeKitShutter, "initialize8", []);
8283
await upgrade(disputeTemplateRegistry, "initialize2", []);
8384
await upgrade(evidence, "initialize2", []);
8485
await upgrade(core, "initialize5", []);

0 commit comments

Comments
 (0)