aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-01 18:01:22 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:52 +0800
commit2f936e7546afb84d7397e3dac6b577aea27220c6 (patch)
treea3748d756208e20f94305d11e49052de3d4bdd87 /test
parent9ebd1473b3b91d929a5bc503cae43fa6ac36ab79 (diff)
downloaddexon-2f936e7546afb84d7397e3dac6b577aea27220c6.tar.gz
dexon-2f936e7546afb84d7397e3dac6b577aea27220c6.tar.zst
dexon-2f936e7546afb84d7397e3dac6b577aea27220c6.zip
dex: minor refactor
Diffstat (limited to 'test')
-rwxr-xr-xtest/run_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_test.sh b/test/run_test.sh
index ddbe30b4a..ca2c391a0 100755
--- a/test/run_test.sh
+++ b/test/run_test.sh
@@ -10,7 +10,7 @@ for i in $(seq 0 3); do
datadir=$PWD/Dexon.$i
rm -rf $datadir
$GDEX --datadir=$datadir init genesis.json
- $GDEX --verbosity=4 --datadir=$datadir --nodekey=test$i.nodekey --port=$((28000 + $i)) --rpc --rpcaddr 127.0.0.1 --rpcport=$((8545 + $i)) --rpcapi=eth,net,web3,debug --rpcvhosts='*' --rpccorsdomain="http://localhost:8000,https://www.myetherwallet.com" > gdex.$i.log 2>&1 &
+ $GDEX --verbosity=4 --gcmode=archive --datadir=$datadir --nodekey=test$i.nodekey --port=$((28000 + $i)) --rpc --rpcaddr=0.0.0.0 --rpcport=$((8545 + $i * 2)) --rpcapi=eth,net,web3,debug --ws --wsapi=eth,net,web3,debug --wsaddr=0.0.0.0 --wsport=$((8546 + $i * 2)) --wsorigins='*' --rpcvhosts='*' --rpccorsdomain="*" > gdex.$i.log 2>&1 &
done
tail -f gdex.*.log