-
Notifications
You must be signed in to change notification settings - Fork 7
/
hardhat.config.ts
40 lines (38 loc) · 1.07 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
import "@nomiclabs/hardhat-ethers"
import "@nomiclabs/hardhat-waffle"
import "@typechain/hardhat"
import "hardhat-dependency-compiler"
import "hardhat-gas-reporter"
import { HardhatUserConfig } from "hardhat/config"
import "solidity-coverage"
const config: HardhatUserConfig = {
solidity: {
version: "0.7.6",
settings: {
optimizer: { enabled: true, runs: 200 },
evmVersion: "berlin",
// for smock to mock contracts
outputSelection: {
"*": {
"*": ["storageLayout"],
},
},
},
},
mocha: {
timeout: 100000,
},
networks: {
hardhat: {
allowUnlimitedContractSize: true,
},
},
dependencyCompiler: {
// We have to compile from source since UniswapV3 doesn't provide artifacts in their npm package
paths: ["@uniswap/v3-core/contracts/UniswapV3Factory.sol", "@uniswap/v3-core/contracts/UniswapV3Pool.sol"],
},
gasReporter: {
enabled: true,
},
}
export default config