diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-14 19:59:57 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:21 +0800 |
commit | 2b03b31d46e166e70ea82b806db47bb6408282e3 (patch) | |
tree | 9f26d62978a5de14078d7e50ddb6714c8996533a /test/run_test.sh | |
parent | dca26d3e73ea1657cb7daa2086b74250adbbd85f (diff) | |
download | go-tangerine-2b03b31d46e166e70ea82b806db47bb6408282e3.tar go-tangerine-2b03b31d46e166e70ea82b806db47bb6408282e3.tar.gz go-tangerine-2b03b31d46e166e70ea82b806db47bb6408282e3.tar.bz2 go-tangerine-2b03b31d46e166e70ea82b806db47bb6408282e3.tar.lz go-tangerine-2b03b31d46e166e70ea82b806db47bb6408282e3.tar.xz go-tangerine-2b03b31d46e166e70ea82b806db47bb6408282e3.tar.zst go-tangerine-2b03b31d46e166e70ea82b806db47bb6408282e3.zip |
params: write dMoment into ChainConfig (#150)
Diffstat (limited to 'test/run_test.sh')
-rwxr-xr-x | test/run_test.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/run_test.sh b/test/run_test.sh index 71b2715dd..a42e27142 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -22,6 +22,7 @@ rm -f log-latest ln -s $logsdir log-latest let dmoment=`date +%s`+7 +sed -i "s/\"dMoment\": [0-9]\+,/\"dMoment\": $dmoment,/g" $GENESIS # A standalone RPC server for accepting RPC requests. datadir=$PWD/Dexon.rpc @@ -37,7 +38,6 @@ $GDEX \ --ws --wsapi=eth,net,web3,debug \ --wsaddr=0.0.0.0 --wsport=8546 \ --wsorigins='*' --rpcvhosts='*' --rpccorsdomain="*" \ - --dmoment=$dmoment \ > $logsdir/gdex.rpc.log 2>&1 & # Nodes @@ -57,7 +57,6 @@ for i in $(seq 0 3); do --ws --wsapi=eth,net,web3,debug \ --wsaddr=0.0.0.0 --wsport=$((8548 + $i * 2)) \ --wsorigins='*' --rpcvhosts='*' --rpccorsdomain="*" \ - --dmoment=$dmoment \ --pprof --pprofaddr=localhost --pprofport=$((6060 + $i)) \ > $logsdir/gdex.$i.log 2>&1 & done |