forked from omni/tokenbridge-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
truffle-config.js
45 lines (44 loc) · 948 Bytes
/
truffle-config.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
42
43
44
45
const contractsBuildDirectory = './build/contracts'
const evmVersion = 'byzantium'
const mochaOptions =
process.env.GASREPORT === 'true'
? {
reporter: 'eth-gas-reporter',
reporterOptions: {
currency: 'USD',
gasPrice: 1
}
}
: {}
module.exports = {
contracts_build_directory: contractsBuildDirectory,
networks: {
development: {
network_id: '*',
gas: 10000000,
disableConfirmationListener: true
},
ganache: {
host: '127.0.0.1',
port: 8545,
network_id: '1337', // eslint-disable-line camelcase
gasPrice: 100000000000,
gas: 10000000,
disableConfirmationListener: true
}
},
compilers: {
solc: {
version: '0.4.24',
settings: {
optimizer: {
enabled: true,
runs: 200
},
evmVersion
}
}
},
mocha: mochaOptions,
plugins: ['solidity-coverage']
}