Skip to content

Commit 2a6024d

Browse files
committed
fix: linter
1 parent 5704cdc commit 2a6024d

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

contracts/deploy/fix1148.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
5151

5252
// Cannot disable the old DK because of https://github.com/kleros/kleros-v2/blob/d9adb8f54e8164eb01880296b4dd62b74cad3a0e/contracts/src/arbitration/KlerosCore.sol#L452
5353
// Does not seem correct
54-
//await execute("KlerosCore", { from: deployer, log: true }, "enableDisputeKits", 1, [oldDisputeKitId], false); // disable the old dispute kit
54+
// await execute("KlerosCore", { from: deployer, log: true }, "enableDisputeKits", 1, [oldDisputeKitId], false); // disable the old dispute kit
5555
};
5656

5757
deployArbitration.tags = ["Fix1148"];

contracts/test/arbitration/draw.ts

+2-7
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,8 @@ describe("Draw Benchmark", async () => {
8484
);
8585
});
8686

87-
interface SetStake {
88-
(wallet: Wallet): Promise<void>;
89-
}
90-
91-
interface ExpectFromDraw {
92-
(drawTx: Promise<ContractTransaction>): Promise<void>;
93-
}
87+
type SetStake = (wallet: Wallet) => Promise<void>;
88+
type ExpectFromDraw = (drawTx: Promise<ContractTransaction>) => Promise<void>;
9489

9590
const draw = async (setStake: SetStake, createDisputeCourtId: string, expectFromDraw: ExpectFromDraw) => {
9691
const arbitrationCost = ONE_TENTH_ETH.mul(3);

0 commit comments

Comments
 (0)