-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.js
48 lines (42 loc) · 931 Bytes
/
hardhat.config.js
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
/**
* @type import('hardhat/config').HardhatUserConfig
*/
require("@nomiclabs/hardhat-waffle");
require("hardhat-log-remover");
require("solidity-coverage");
require("dotenv").config();
process.env.TEST_MNEMONIC =
"test test test test test test test test test test test junk";
module.exports = {
accounts: {
mnemonic: process.env.TEST_MNEMONIC,
},
solidity: {
version: "0.7.2",
settings: {
optimizer: {
runs: 200,
enabled: true,
},
},
},
networks: {
hardhat: {
forking: {
url: process.env.TEST_URI,
gasLimit: 8e6,
blockNumber: 11611333,
},
},
// kovan: {
// url: process.env.INFURA_KOVAN_URI,
// accounts: {
// mnemonic: process.env.KOVAN_MNEMONIC
// }
// // accounts: [`0x${process.env.KOVAN_KEY}`, `0x${process.env.KOVAN_KEY2}`],
// },
},
mocha: {
timeout: 500000,
},
};