We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87ed407 commit ef83a68Copy full SHA for ef83a68
.dockerignore
@@ -0,0 +1 @@
1
+package-lock.json
Dockerfile
@@ -21,5 +21,5 @@ ADD . /smart-contracts
21
22
WORKDIR /smart-contracts
23
24
-RUN npm install -g truffle
+RUN npm install -g truffle@4.0.1
25
RUN npm install bignumber.js
scripts/deployment.js
@@ -34,7 +34,7 @@ var counterConversionRate = (((new BigNumber(10)).pow(18)).div(2));
34
35
var expBlock = 10**10;
36
var validBlockDuration = 24;
37
-const maxGas = 5878178;
+const maxGas = 4612388;
38
39
var tokenOwner;
40
truffle.js
@@ -1,4 +1,10 @@
module.exports = {
2
+ solc: {
3
+ optimizer: {
4
+ enabled: true,
5
+ runs: 200
6
+ }
7
+ },
8
networks: {
9
development: {
10
host: "localhost",
0 commit comments