-
Notifications
You must be signed in to change notification settings - Fork 89
/
hardhat.config.ts
39 lines (35 loc) · 780 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
import '@nomicfoundation/hardhat-chai-matchers';
import '@nomicfoundation/hardhat-ethers';
import '@solidstate/hardhat-4byte-uploader';
import '@typechain/hardhat';
import 'hardhat-abi-exporter';
import 'hardhat-contract-sizer';
import 'hardhat-gas-reporter';
import 'hardhat-linearization';
import 'hardhat-spdx-license-identifier';
import 'solidity-coverage';
export default {
solidity: {
version: '0.8.25',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
abiExporter: {
runOnCompile: true,
clear: true,
flat: true,
except: ['.*Mock$'],
},
gasReporter: {
enabled: true,
reportPureAndViewMethods: true,
},
spdxLicenseIdentifier: {
overwrite: false,
runOnCompile: true,
},
};