-
Notifications
You must be signed in to change notification settings - Fork 1
/
truffle.js
33 lines (33 loc) · 933 Bytes
/
truffle.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
module.exports = {
networks: {
coverage: {
host: 'localhost',
network_id: '*', // eslint-disable-line camelcase
port: 8545,
gas: 0xfffffffffff,
gasPrice: 0x01,
},
development: {
host: 'localhost',
port: 8545,
network_id: '*', // eslint-disable-line camelcase
gas: 6721975,
},
},
mocha: {
reporter: 'eth-gas-reporter',
},
compilers: {
solc: {
version: '0.6.6', // Fetch exact version from solc-bin (default: truffle's version)
// docker: true, // Use "0.5.1" you've installed locally with docker (default: false)
settings: {
optimizer: {
enabled: true,
runs: 200,
},
evmVersion: 'istanbul',
},
},
},
};