forked from JoinColony/colonyToken
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtruffle.js
46 lines (45 loc) · 969 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
42
43
44
45
46
require("@babel/register");
require("@babel/polyfill");
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// to customize your Truffle configuration!
networks: {
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*", // Match any network id
gasPrice: 0,
skipDryRun: true
},
coverage: {
host: "127.0.0.1",
port: 8555,
network_id: "1999",
gasPrice: 0x01, // <-- Use this low gas price
skipDryRun: true
}
},
plugins: ["solidity-coverage"],
mocha: {
reporter: "mocha-circleci-reporter",
reporterOptions: {
currency: "USD",
gasPrice: 1,
onlyCalledMethods: true
}
},
compilers: {
solc: {
version: "0.8.10",
docker: true,
parser: "solcjs",
settings: {
optimizer: {
enabled: true,
runs: 200
},
evmVersion: "petersburg"
}
}
}
};