-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
41 lines (39 loc) · 1.1 KB
/
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
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
solidity: {
version: "0.8.12",
// Optional
settings:
{
// Optional: Optimizer settings
"optimizer": {
// Disabled by default.
// NOTE: enabled=false still leaves some optimizations on. See comments below.
// WARNING: Before version 0.8.6 omitting the 'enabled' key was not equivalent to setting
// it to false and would actually disable all the optimizations.
"enabled": true,
},
// Version of the EVM to compile for.
// Affects type checking and code generation. Can be homestead,
// tangerineWhistle, spuriousDragon, byzantium, constantinople, petersburg, istanbul or berlin
"evmVersion": "byzantium",
}
},
networks: {
hardhat: {
blockGasLimit: 0xfffffff,
gasPrice: 1,
initialBaseFeePerGas: 1,
gas: 0xffffff,
}
},
gasReporter: {
enabled: false,
},
mocha: {
timeout: 1000000
},
};
export default config;