@@ -41,6 +41,8 @@ task("change-governor", "Changes the governor for all the contracts")
4141 chainlinkRng,
4242 randomizerRng,
4343 snapshotProxy,
44+ sortition,
45+ evidence,
4446 } = await getContracts ( hre , coreType ) ;
4547
4648 const updateGovernor = async ( contractName : string , contractInstance : any ) => {
@@ -60,16 +62,14 @@ task("change-governor", "Changes the governor for all the contracts")
6062 }
6163 } ;
6264
63- // TODO: upgrade and add changeGovernor!
64- // await updateGovernor("SortitionModule", sortition)
65- // await updateGovernor("EvidenceModule", evidence)
66-
6765 await updateGovernor ( "KlerosCore" , core ) ;
6866 await updateGovernor ( "DisputeKitClassic" , disputeKitClassic ) ;
6967 await updateGovernor ( "DisputeResolver" , disputeResolver ) ;
7068 await updateGovernor ( "DisputeTemplateRegistry" , disputeTemplateRegistry ) ;
7169 await updateGovernor ( "PolicyRegistry" , policyRegistry ) ;
7270 await updateGovernor ( "KlerosCoreSnapshotProxy" , snapshotProxy ) ;
71+ await updateGovernor ( "SortitionModule" , sortition ) ;
72+ await updateGovernor ( "EvidenceModule" , evidence ) ;
7373 if ( chainlinkRng ) await updateGovernor ( "ChainlinkRNG" , chainlinkRng ) ;
7474 if ( randomizerRng ) await updateGovernor ( "RandomizerRNG" , randomizerRng ) ;
7575
0 commit comments