-
Notifications
You must be signed in to change notification settings - Fork 163
/
hardhat.config.js
36 lines (35 loc) · 974 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
require('hardhat-gas-reporter');
require('solidity-coverage');
require('@nomicfoundation/hardhat-chai-matchers');
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: {
version: '0.8.19',
settings: {
evmVersion: process.env.EVM_VERSION || 'london',
optimizer: {
enabled: true,
runs: 1000,
details: {
peephole: true,
inliner: true,
jumpdestRemover: true,
orderLiterals: true,
deduplicate: true,
cse: true,
constantOptimizer: true,
yul: true,
yulDetails: {
stackAllocation: true,
},
},
},
},
},
paths: {
sources: './examples',
artifacts: './artifacts',
},
};