Fix failed test on travis

* Change gas limt to 6000000
* Change ganache container compose file
This commit is contained in:
sc0Vu 2018-06-24 22:30:34 +08:00
parent 07f730d8ce
commit 234b1e695f
2 changed files with 2 additions and 2 deletions

View File

@ -6,4 +6,4 @@ RUN npm install -g ganache-cli
EXPOSE 8545
CMD ganache-cli --hostname=0.0.0.0
CMD ganache-cli -g 0 -l 6000000 --hostname=0.0.0.0

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
ganache-cli -g 0 -l 0 > /dev/null &
ganache-cli -g 0 -l 6000000 > /dev/null &
ganachecli_pid=$!
echo "Start ganache-cli pid: $ganachecli_pid and sleep 3 seconds"