-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle.js
39 lines (35 loc) · 830 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
34
35
36
37
38
39
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
networks: {
ganache: {
network_id: 127001,
host: "127.0.0.1",
port: 8545
},
coverage: {
host: "localhost",
network_id: "*",
port: 8545, // <-- If you change this, also set the port option in .solcover.js.
gas: 0xfffffffffff, // <-- Use this high gas value
gasPrice: 0x01 // <-- Use this low gas price
},
},
solc: {
optimizer: {
enabled: true,
runs: 200
},
evmVersion: "byzantium",
version: "0.5.0"
},
mocha: {
reporter: "eth-gas-reporter",
reporterOptions: {
currency: "USD",
gasPrice: 21,
outputFile: "/dev/null",
showTimeSpent: true
}
}
}