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-03-12 12:19:09 +0800
commitc96be6f8259a67a510f2f3a4c83ddc004d4211d4 (patch)
tree3a13a17c2d0d4420cf46fbdb23fef9c3bfc0dfbf /test
parentc024c9c424536244035382d2af524df6a7855c73 (diff)
downloaddexon-c96be6f8259a67a510f2f3a4c83ddc004d4211d4.tar.gz
dexon-c96be6f8259a67a510f2f3a4c83ddc004d4211d4.tar.zst
dexon-c96be6f8259a67a510f2f3a4c83ddc004d4211d4.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