forked from vertex-protocol/vertex-contracts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.ts
48 lines (46 loc) · 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
42
43
44
45
46
47
48
/**
* @type import('hardhat/config').HardhatUserConfig
*/
import '@nomicfoundation/hardhat-chai-matchers';
import '@nomiclabs/hardhat-ethers';
import '@nomiclabs/hardhat-etherscan';
import '@nomiclabs/hardhat-solhint';
import '@openzeppelin/hardhat-upgrades';
import '@typechain/hardhat';
import 'dotenv/config';
import 'hardhat-deploy';
import 'solidity-coverage';
import 'hardhat-gas-reporter';
import 'hardhat-contract-sizer';
import 'hardhat-abi-exporter';
import { HardhatUserConfig } from 'hardhat/config';
const config: HardhatUserConfig = {
solidity: {
version: '0.8.13',
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
defaultNetwork: 'localhost',
contractSizer: {
runOnCompile: true,
},
abiExporter: {
path: './abis',
runOnCompile: true,
clear: true,
flat: true,
spacing: 2,
},
gasReporter: {
onlyCalledMethods: true,
showTimeSpent: true,
},
mocha: {
timeout: 1000000000,
},
};
export default config;