-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathhardhat.config.ts
49 lines (48 loc) · 962 Bytes
/
hardhat.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import "@typechain/hardhat";
import "@nomiclabs/hardhat-ethers";
import "@nomiclabs/hardhat-waffle";
export default {
defaultNetwork: "hardhat",
networks: {
mainnet: {
url: process.env.MAINNET_PROVIDER_URL,
},
hardhat: {
forking: {
url: process.env.FORKING_PROVIDER_URL,
blockNumber: 13578942,
},
mining: {
auto: true,
interval: 0,
},
allowUnlimitedContractSize: false,
},
},
paths: {
sources: "./test/contracts/src",
tests: "./test/contracts",
cache: "./test/cache",
artifacts: "./test/artifacts",
},
solidity: {
version: "0.7.6",
settings: {
optimizer: {
enabled: true,
runs: 1, // 800,
},
metadata: {
bytecodeHash: "none",
},
},
},
mocha: {
timeout: 3600000,
},
typechain: {
outDir: "test/typechain",
target: "ethers-v5",
alwaysGenerateOverloads: false,
},
};