forked from derivexyz/v1-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
60 lines (58 loc) · 1.42 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
49
50
51
52
53
54
55
56
57
58
59
60
import '@eth-optimism/plugins/hardhat/compiler';
import '@nomiclabs/hardhat-ethers';
import '@nomiclabs/hardhat-waffle';
import 'hardhat-contract-sizer';
import 'hardhat-gas-reporter';
import 'hardhat-typechain';
import { HardhatUserConfig } from 'hardhat/config';
const config: HardhatUserConfig = {
ovm: { solcVersion: '0.7.6' },
solidity: {
version: '0.7.6',
settings: {
outputSelection: {
'*': {
'*': ['storageLayout'],
},
},
},
},
networks: {
local: {
url: 'http://127.0.0.1:8545',
accounts: {
mnemonic:
'test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers junk',
},
gasPrice: 0,
},
kovan: {
url: 'https://kovan.infura.io/v3/',
},
'local-ovm': {
url: 'http://127.0.0.1:8545',
accounts: {
mnemonic:
'test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers test-helpers junk',
},
gasPrice: 0,
ovm: true,
},
'kovan-ovm': {
url: 'https://kovan.optimism.io',
ovm: true,
},
},
mocha: {
timeout: 1_000_000,
},
contractSizer: {
alphaSort: true,
runOnCompile: false,
disambiguatePaths: false,
},
gasReporter: {
enabled: false,
},
};
export default config;