Skip to content

Commit cb046ed

Browse files
fix(KC): testing errors
1 parent 481c9c5 commit cb046ed

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

contracts/test/arbitration/index.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("DisputeKitClassic", function () {
1818
});
1919

2020
it("Should create a dispute", async function () {
21-
await expect(disputeKit.connect(deployer).createDispute(0, 0, "0x00")).to.be.revertedWith(
21+
await expect(disputeKit.connect(deployer).createDispute(0, 0, 3, "0x00")).to.be.revertedWith(
2222
"Access not allowed: KlerosCore only."
2323
);
2424

@@ -61,11 +61,9 @@ async function deployContracts(deployer) {
6161
ethers.constants.AddressZero, // should be an ERC20
6262
ethers.constants.AddressZero, // should be a Juror Prosecution module
6363
disputeKit.address,
64+
[120, 120], // minStakingTime, maxFreezingTime
6465
false,
65-
200,
66-
10000,
67-
100,
68-
3,
66+
[200, 10000, 100, 3],
6967
[0, 0, 0, 0],
7068
3
7169
);

0 commit comments

Comments
 (0)