@@ -34,10 +34,10 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
3434 log : true ,
3535 } ) ;
3636
37- const jumpDisputeKitID = 1 ; // Classic DK
37+ const classicDisputeKitID = 1 ; // Classic DK
3838 const disputeKit = await deployUpgradable ( deployments , "DisputeKitClassic" , {
3939 from : deployer ,
40- args : [ deployer , ZeroAddress , weth . target , jumpDisputeKitID ] ,
40+ args : [ deployer , ZeroAddress , weth . target , classicDisputeKitID ] ,
4141 log : true ,
4242 } ) ;
4343
@@ -104,29 +104,32 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
104104 }
105105
106106 // Extra dispute kits
107+ const disputeKitShutterID = 2 ;
107108 const disputeKitShutter = await deployUpgradable ( deployments , "DisputeKitShutter" , {
108109 from : deployer ,
109- args : [ deployer , core . target , weth . target , jumpDisputeKitID ] ,
110+ args : [ deployer , core . target , weth . target , classicDisputeKitID ] ,
110111 log : true ,
111112 } ) ;
112113 await core . addNewDisputeKit ( disputeKitShutter . address ) ;
113- await core . enableDisputeKits ( Courts . GENERAL , [ 2 ] , true ) ; // enable disputeKitShutter on the General Court
114+ await core . enableDisputeKits ( Courts . GENERAL , [ disputeKitShutterID ] , true ) ; // enable disputeKitShutter on the General Court
114115
116+ const disputeKitGatedID = 3 ;
115117 const disputeKitGated = await deployUpgradable ( deployments , "DisputeKitGated" , {
116118 from : deployer ,
117- args : [ deployer , core . target , weth . target , jumpDisputeKitID ] ,
119+ args : [ deployer , core . target , weth . target , classicDisputeKitID ] ,
118120 log : true ,
119121 } ) ;
120122 await core . addNewDisputeKit ( disputeKitGated . address ) ;
121- await core . enableDisputeKits ( Courts . GENERAL , [ 3 ] , true ) ; // enable disputeKitGated on the General Court
123+ await core . enableDisputeKits ( Courts . GENERAL , [ disputeKitGatedID ] , true ) ; // enable disputeKitGated on the General Court
122124
125+ const disputeKitGatedShutterID = 4 ;
123126 const disputeKitGatedShutter = await deployUpgradable ( deployments , "DisputeKitGatedShutter" , {
124127 from : deployer ,
125- args : [ deployer , core . target , weth . target , jumpDisputeKitID ] ,
128+ args : [ deployer , core . target , weth . target , disputeKitShutterID ] , // Does not jump to DKClassic
126129 log : true ,
127130 } ) ;
128131 await core . addNewDisputeKit ( disputeKitGatedShutter . address ) ;
129- await core . enableDisputeKits ( Courts . GENERAL , [ 4 ] , true ) ; // enable disputeKitGatedShutter on the General Court
132+ await core . enableDisputeKits ( Courts . GENERAL , [ disputeKitGatedShutterID ] , true ) ; // enable disputeKitGatedShutter on the General Court
130133
131134 // Snapshot proxy
132135 await deploy ( "KlerosCoreSnapshotProxy" , {
0 commit comments