Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybuidl committed Aug 12, 2023
1 parent 5704cdc commit 2a6024d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion contracts/deploy/fix1148.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand Down
9 changes: 2 additions & 7 deletions contracts/test/arbitration/draw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,8 @@ describe("Draw Benchmark", async () => {
);
});

interface SetStake {
(wallet: Wallet): Promise<void>;
}

interface ExpectFromDraw {
(drawTx: Promise<ContractTransaction>): Promise<void>;
}
type SetStake = (wallet: Wallet) => Promise<void>;
type ExpectFromDraw = (drawTx: Promise<ContractTransaction>) => Promise<void>;

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

0 comments on commit 2a6024d

Please sign in to comment.