From 2a6024dcff2c1b2c68ddb3b0d238b8d3d2d686c1 Mon Sep 17 00:00:00 2001 From: jaybuidl Date: Sat, 12 Aug 2023 22:38:00 +0100 Subject: [PATCH] fix: linter --- contracts/deploy/fix1148.ts | 2 +- contracts/test/arbitration/draw.ts | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/contracts/deploy/fix1148.ts b/contracts/deploy/fix1148.ts index d1d258c9f..de31fa993 100644 --- a/contracts/deploy/fix1148.ts +++ b/contracts/deploy/fix1148.ts @@ -51,7 +51,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment) // Cannot disable the old DK because of https://github.com/kleros/kleros-v2/blob/d9adb8f54e8164eb01880296b4dd62b74cad3a0e/contracts/src/arbitration/KlerosCore.sol#L452 // Does not seem correct - //await execute("KlerosCore", { from: deployer, log: true }, "enableDisputeKits", 1, [oldDisputeKitId], false); // disable the old dispute kit + // await execute("KlerosCore", { from: deployer, log: true }, "enableDisputeKits", 1, [oldDisputeKitId], false); // disable the old dispute kit }; deployArbitration.tags = ["Fix1148"]; diff --git a/contracts/test/arbitration/draw.ts b/contracts/test/arbitration/draw.ts index 536fd3fa5..40840832b 100644 --- a/contracts/test/arbitration/draw.ts +++ b/contracts/test/arbitration/draw.ts @@ -84,13 +84,8 @@ describe("Draw Benchmark", async () => { ); }); - interface SetStake { - (wallet: Wallet): Promise; - } - - interface ExpectFromDraw { - (drawTx: Promise): Promise; - } + type SetStake = (wallet: Wallet) => Promise; + type ExpectFromDraw = (drawTx: Promise) => Promise; const draw = async (setStake: SetStake, createDisputeCourtId: string, expectFromDraw: ExpectFromDraw) => { const arbitrationCost = ONE_TENTH_ETH.mul(3);