You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awaitexecute("KlerosCore",{from: deployer,log: true},"enableDisputeKits",1,newDisputeKitId,true);// enable the new dispute kit
48
-
awaitexecute("KlerosCore",{from: deployer,log: true},"enableDisputeKits",1,oldDisputeKitId,false);// disable the old dispute kit
48
+
awaitexecute("KlerosCore",{from: deployer,log: true},"enableDisputeKits",1,[newDisputeKitId],true);// enable the new dispute kit in court 1
49
+
awaitexecute("KlerosCore",{from: deployer,log: true},"enableDisputeKits",2,[newDisputeKitId],true);// enable the new dispute kit in court 2
50
+
awaitexecute("KlerosCore",{from: deployer,log: true},"enableDisputeKits",3,[newDisputeKitId],true);// enable the new dispute kit in court 3
51
+
52
+
// Cannot disable the old DK because of https://github.com/kleros/kleros-v2/blob/d9adb8f54e8164eb01880296b4dd62b74cad3a0e/contracts/src/arbitration/KlerosCore.sol#L452
53
+
// Does not seem correct
54
+
//await execute("KlerosCore", { from: deployer, log: true }, "enableDisputeKits", 1, [oldDisputeKitId], false); // disable the old dispute kit
0 commit comments