Skip to content

Commit b6c7549

Browse files
author
hurstelm
committed
fix(deploy): edit of 00-home-chain-arbitration tests to follow with safeSend modifications
1 parent 7018602 commit b6c7549

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

contracts/deploy/00-home-chain-arbitration-neo.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
3232
const disputeKit = await deployUpgradable(deployments, "DisputeKitClassicNeo", {
3333
from: deployer,
3434
contract: "DisputeKitClassic",
35-
args: [deployer, ZeroAddress],
35+
args: [deployer, ZeroAddress, weth.target],
3636
log: true,
3737
});
3838

@@ -81,6 +81,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
8181
ethers.toBeHex(5), // Extra data for sortition module will return the default value of K
8282
sortitionModule.address,
8383
nft.target,
84+
weth.target,
8485
],
8586
log: true,
8687
}); // nonce+2 (implementation), nonce+3 (proxy)

contracts/deploy/00-home-chain-arbitration-university.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
2727
const disputeKit = await deployUpgradable(deployments, "DisputeKitClassicUniversity", {
2828
from: deployer,
2929
contract: "DisputeKitClassic",
30-
args: [deployer, ZeroAddress],
30+
args: [deployer, ZeroAddress, weth.target],
3131
log: true,
3232
});
3333

@@ -59,6 +59,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
5959
[minStake, alpha, feeForJuror, jurorsForCourtJump],
6060
[0, 0, 0, 10], // evidencePeriod, commitPeriod, votePeriod, appealPeriod
6161
sortitionModule.address,
62+
weth.target,
6263
],
6364
log: true,
6465
}); // nonce+2 (implementation), nonce+3 (proxy)

contracts/deploy/00-home-chain-arbitration.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)