Skip to content

Commit 7f667f8

Browse files
committed
feat: remove hardhat-waffle
1 parent eb0d549 commit 7f667f8

File tree

8 files changed

+14
-75
lines changed

8 files changed

+14
-75
lines changed

contracts/hardhat.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import * as dotenv from "dotenv";
22

33
import { HardhatUserConfig } from "hardhat/config";
4-
import "@nomiclabs/hardhat-waffle";
54
import "@typechain/hardhat";
65
import "@tenderly/hardhat-tenderly";
76
import "hardhat-gas-reporter";

contracts/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
},
2222
"devDependencies": {
2323
"@nomiclabs/hardhat-ethers": "^2.0.5",
24-
"@nomiclabs/hardhat-waffle": "^2.0.3",
2524
"@openzeppelin/contracts": "^4.5.0",
2625
"@tenderly/hardhat-tenderly": "^1.0.13",
2726
"@typechain/ethers-v5": "^9.0.0",

contracts/test/arbitration/core.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { expect } from "chai";
22
import { ethers } from "hardhat";
33
import { AddressZero } from "@ethersproject/constants";
4-
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers";
54
import {
65
ConstantNG,
76
ConstantNG__factory,
@@ -15,6 +14,7 @@ import {
1514
import { expectGoverned, getSortitionSumTreeLibrary, randomInt } from "../shared";
1615
import type { BigNumberish } from "ethers";
1716
import { generateSubcourts, getDisputeExtraData } from "../shared/arbitration";
17+
import { SignerWithAddress } from "hardhat-deploy-ethers/signers";
1818

1919
const JUROR_PROSECUTION_MODULE_ADDRESS = AddressZero;
2020
const HIDDEN_VOTES = false;

contracts/test/arbitration/dispute-kit-clasic.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { expect } from "chai";
22
import { ethers } from "hardhat";
33
import { type BigNumberish } from "ethers";
44
import { AddressZero } from "@ethersproject/constants";
5-
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers";
65
import {
76
// ArbitrableExample,
87
// ArbitrableExample__factory,
@@ -16,6 +15,7 @@ import {
1615
PNK__factory,
1716
} from "../../typechain-types";
1817
import { expectGoverned, getSortitionSumTreeLibrary } from "../shared";
18+
import { SignerWithAddress } from "hardhat-deploy-ethers/signers";
1919

2020
const JUROR_PROSECUTION_MODULE_ADDRESS = AddressZero;
2121
const HIDDEN_VOTES = false;

contracts/test/evidence.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
ModeratedEvidenceModule,
88
ModeratedEvidenceModule__factory,
99
} from "../typechain-types";
10-
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers";
10+
import { SignerWithAddress } from "hardhat-deploy-ethers/signers";
1111
import { expectEvent, expectGoverned, increaseTime } from "./shared";
1212
import { Zero, One } from "@ethersproject/constants";
1313
import { Party } from "./shared/enums/evidence";

contracts/test/shared/arbitration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { randomInt } from ".";
22
import type { BigNumberish } from "ethers";
3-
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers";
3+
import { SignerWithAddress } from "hardhat-deploy-ethers/signers";
44
import { DisputeKitClassic, KlerosCore } from "../../typechain-types";
55

66
export interface SubcourtCreationParams {

contracts/test/shared/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/signers";
1+
import { SignerWithAddress } from "hardhat-deploy-ethers/signers";
22
import { expect } from "chai";
33
import { ethers } from "hardhat";
44
import { Contract } from "ethers";

yarn.lock

Lines changed: 9 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,6 @@ __metadata:
15351535
resolution: "@kleros/kleros-v2-contracts@workspace:contracts"
15361536
dependencies:
15371537
"@nomiclabs/hardhat-ethers": ^2.0.5
1538-
"@nomiclabs/hardhat-waffle": ^2.0.3
15391538
"@openzeppelin/contracts": ^4.5.0
15401539
"@tenderly/hardhat-tenderly": ^1.0.13
15411540
"@typechain/ethers-v5": ^9.0.0
@@ -1643,21 +1642,6 @@ __metadata:
16431642
languageName: node
16441643
linkType: hard
16451644

1646-
"@nomiclabs/hardhat-waffle@npm:^2.0.3":
1647-
version: 2.0.3
1648-
resolution: "@nomiclabs/hardhat-waffle@npm:2.0.3"
1649-
dependencies:
1650-
"@types/sinon-chai": ^3.2.3
1651-
"@types/web3": 1.0.19
1652-
peerDependencies:
1653-
"@nomiclabs/hardhat-ethers": ^2.0.0
1654-
ethereum-waffle: ^3.2.0
1655-
ethers: ^5.0.0
1656-
hardhat: ^2.0.0
1657-
checksum: e68c9e13905caa54a10fa68d9ad7dc905c86469c879f91e999a1c4d039dd2f9fa43a8ed90ab975afb14a79cd6badeb60a7cf50dc6564660edd192614c55875ca
1658-
languageName: node
1659-
linkType: hard
1660-
16611645
"@npmcli/fs@npm:^1.0.0":
16621646
version: 1.1.1
16631647
resolution: "@npmcli/fs@npm:1.1.1"
@@ -2743,25 +2727,25 @@ __metadata:
27432727
languageName: node
27442728
linkType: hard
27452729

2746-
"@types/bn.js@npm:*, @types/bn.js@npm:^5.1.0":
2747-
version: 5.1.0
2748-
resolution: "@types/bn.js@npm:5.1.0"
2730+
"@types/bn.js@npm:^4.11.3, @types/bn.js@npm:^4.11.5":
2731+
version: 4.11.6
2732+
resolution: "@types/bn.js@npm:4.11.6"
27492733
dependencies:
27502734
"@types/node": "*"
2751-
checksum: 1dc1cbbd7a1e8bf3614752e9602f558762a901031f499f3055828b5e3e2bba16e5b88c27b3c4152ad795248fbe4086c731a5c4b0f29bb243f1875beeeabee59c
2735+
checksum: 7f66f2c7b7b9303b3205a57184261974b114495736b77853af5b18d857c0b33e82ce7146911e86e87a87837de8acae28986716fd381ac7c301fd6e8d8b6c811f
27522736
languageName: node
27532737
linkType: hard
27542738

2755-
"@types/bn.js@npm:^4.11.3, @types/bn.js@npm:^4.11.5":
2756-
version: 4.11.6
2757-
resolution: "@types/bn.js@npm:4.11.6"
2739+
"@types/bn.js@npm:^5.1.0":
2740+
version: 5.1.0
2741+
resolution: "@types/bn.js@npm:5.1.0"
27582742
dependencies:
27592743
"@types/node": "*"
2760-
checksum: 7f66f2c7b7b9303b3205a57184261974b114495736b77853af5b18d857c0b33e82ce7146911e86e87a87837de8acae28986716fd381ac7c301fd6e8d8b6c811f
2744+
checksum: 1dc1cbbd7a1e8bf3614752e9602f558762a901031f499f3055828b5e3e2bba16e5b88c27b3c4152ad795248fbe4086c731a5c4b0f29bb243f1875beeeabee59c
27612745
languageName: node
27622746
linkType: hard
27632747

2764-
"@types/chai@npm:*, @types/chai@npm:^4.3.0":
2748+
"@types/chai@npm:^4.3.0":
27652749
version: 4.3.0
27662750
resolution: "@types/chai@npm:4.3.0"
27672751
checksum: 3e393e094263db65df28a0123dc13f342937c1bab6cd173eae913d593c5b9a16b555713a08c34863a1fbf079aa7222b96197c70380a5c130549d6b2f6845a989
@@ -3033,32 +3017,6 @@ __metadata:
30333017
languageName: node
30343018
linkType: hard
30353019

3036-
"@types/sinon-chai@npm:^3.2.3":
3037-
version: 3.2.8
3038-
resolution: "@types/sinon-chai@npm:3.2.8"
3039-
dependencies:
3040-
"@types/chai": "*"
3041-
"@types/sinon": "*"
3042-
checksum: a0f7a8cef24904db25a695f3c3adcc03ae72bab89a954c9b6e23fe7e541228e67fe4119cec069e8b36c80e9af33102b626129ff538efade9391cc0f65f1d4933
3043-
languageName: node
3044-
linkType: hard
3045-
3046-
"@types/sinon@npm:*":
3047-
version: 10.0.11
3048-
resolution: "@types/sinon@npm:10.0.11"
3049-
dependencies:
3050-
"@types/sinonjs__fake-timers": "*"
3051-
checksum: 196f3e26985dca5dfb593592e4b64463e536c047a9f43aa2b328b16024a3b0e3fb27b7a3f3972c6ef75749f55012737eb6c63a1c2e9782b7fe5cbbd25f75fd62
3052-
languageName: node
3053-
linkType: hard
3054-
3055-
"@types/sinonjs__fake-timers@npm:*":
3056-
version: 8.1.1
3057-
resolution: "@types/sinonjs__fake-timers@npm:8.1.1"
3058-
checksum: ca09d54d47091d87020824a73f026300fa06b17cd9f2f9b9387f28b549364b141ef194ee28db762f6588de71d8febcd17f753163cb7ea116b8387c18e80ebd5c
3059-
languageName: node
3060-
linkType: hard
3061-
30623020
"@types/styled-components@npm:^5.1.21":
30633021
version: 5.1.24
30643022
resolution: "@types/styled-components@npm:5.1.24"
@@ -3070,23 +3028,6 @@ __metadata:
30703028
languageName: node
30713029
linkType: hard
30723030

3073-
"@types/underscore@npm:*":
3074-
version: 1.11.4
3075-
resolution: "@types/underscore@npm:1.11.4"
3076-
checksum: db9f8486bc851b732259e51f42d62aad1ae2158be5724612dc125ece5f5d61c51447f9dea28284c2a0f79cb95e788d01cb5ce97709880019213e69fab0dd1696
3077-
languageName: node
3078-
linkType: hard
3079-
3080-
"@types/web3@npm:1.0.19":
3081-
version: 1.0.19
3082-
resolution: "@types/web3@npm:1.0.19"
3083-
dependencies:
3084-
"@types/bn.js": "*"
3085-
"@types/underscore": "*"
3086-
checksum: 25a78e80052cca8abe5edf15c0ae92854d00d1bec15283486a2535ab673345b0be090e39cc9a86822be17ddd812fa76cbfd869be21bb944d2faaf2922e2a836a
3087-
languageName: node
3088-
linkType: hard
3089-
30903031
"@typescript-eslint/eslint-plugin@npm:^5.15.0":
30913032
version: 5.15.0
30923033
resolution: "@typescript-eslint/eslint-plugin@npm:5.15.0"

0 commit comments

Comments
 (0)