forked from bombastictranz/bitcoincom-solidity-swap
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
48 lines (46 loc) · 1.27 KB
/
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-truffle5");
require("hardhat-gas-reporter");
require("@nomiclabs/hardhat-ethers");
module.exports = {
defaultNetwork: "hardhat",
networks: {
hardhat: {
chainId: 1337,
allowUnlimitedContractSize: true,
blockGasLimit: 100000000,
callGasLimit: 100000000,
forking: {
url: "https://eth-mainnet.g.alchemy.com/v2/GIE2WO3ORzSLZD9CYyh9wsuAmeiYb_NV",
blockNumber: 16827867, //block from 14/03/22
//blockNumber: 16518560, // blockNumber: 15949225,// 15939225 16775573
enabled: false
}
},
live: {
chainId: 1337,
allowUnlimitedContractSize: true,
blockGasLimit: 100000000,
callGasLimit: 100000000,
url: "http://127.0.0.1:9545/"
}
},
solidity: {
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
paths: {
sources: "./contracts",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts"
},
mocha: {
timeout: 4000000
}
}