@@ -37,7 +37,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
3737
3838 const disputeKit = await deployUpgradable ( deployments , "DisputeKitClassic" , {
3939 from : deployer ,
40- args : [ deployer , ZeroAddress ] ,
40+ args : [ deployer , ZeroAddress , weth . target ] ,
4141 log : true ,
4242 } ) ;
4343
@@ -74,6 +74,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
7474 [ 0 , 0 , 0 , 10 ] , // evidencePeriod, commitPeriod, votePeriod, appealPeriod
7575 ethers . toBeHex ( 5 ) , // Extra data for sortition module will return the default value of K
7676 sortitionModule . address ,
77+ weth . target ,
7778 ] ,
7879 log : true ,
7980 } ) ; // nonce+2 (implementation), nonce+3 (proxy)
@@ -105,23 +106,23 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
105106 // Extra dispute kits
106107 const disputeKitShutter = await deployUpgradable ( deployments , "DisputeKitShutter" , {
107108 from : deployer ,
108- args : [ deployer , core . target ] ,
109+ args : [ deployer , core . target , weth . target ] ,
109110 log : true ,
110111 } ) ;
111112 await core . addNewDisputeKit ( disputeKitShutter . address ) ;
112113 await core . enableDisputeKits ( Courts . GENERAL , [ 2 ] , true ) ; // enable disputeKitShutter on the General Court
113114
114115 const disputeKitGated = await deployUpgradable ( deployments , "DisputeKitGated" , {
115116 from : deployer ,
116- args : [ deployer , core . target ] ,
117+ args : [ deployer , core . target , weth . target ] ,
117118 log : true ,
118119 } ) ;
119120 await core . addNewDisputeKit ( disputeKitGated . address ) ;
120121 await core . enableDisputeKits ( Courts . GENERAL , [ 3 ] , true ) ; // enable disputeKitGated on the General Court
121122
122123 const disputeKitGatedShutter = await deployUpgradable ( deployments , "DisputeKitGatedShutter" , {
123124 from : deployer ,
124- args : [ deployer , core . target ] ,
125+ args : [ deployer , core . target , weth . target ] ,
125126 log : true ,
126127 } ) ;
127128 await core . addNewDisputeKit ( disputeKitGatedShutter . address ) ;
0 commit comments