-
Notifications
You must be signed in to change notification settings - Fork 31
/
truffle.js
41 lines (41 loc) · 972 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
40
41
module.exports = {
networks: {
development: {
host: 'localhost',
network_id: '*', // Match any network id
port: 8545,
gas: 8000000,
gasPrice: 0x01,
},
integration_origin: {
host: 'localhost',
network_id: '*',
port: 8546,
},
integration_auxiliary: {
host: 'localhost',
network_id: '*',
port: 8547,
},
coverage: {
host: 'localhost',
network_id: '*',
port: 8555, // <-- 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
},
},
compilers: {
solc: {
settings: {
optimizer: {
enabled: true,
// set to same number of runs as openst-platform
// so that integration tests on openst-protocol
// give accurate gas measurements
runs: 200,
},
},
},
},
};