aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-16 19:26:29 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit88b272df86618979916a2b9f45723745dd556245 (patch)
tree7e33b4753e3920e65361991d695aeb1cadba92d1 /test
parent0c555d3f347dc8458ddae614b093c9b11d54e629 (diff)
downloaddexon-88b272df86618979916a2b9f45723745dd556245.tar.gz
dexon-88b272df86618979916a2b9f45723745dd556245.tar.zst
dexon-88b272df86618979916a2b9f45723745dd556245.zip
dex/core: misc bug fixes
Diffstat (limited to 'test')
-rw-r--r--test/genesis.json2
-rwxr-xr-xtest/run_test.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/genesis.json b/test/genesis.json
index 2963aaf3c..51857df5f 100644
--- a/test/genesis.json
+++ b/test/genesis.json
@@ -15,7 +15,7 @@
"phiRatio": 667000,
"notarySetSize": 4,
"dkgSetSize": 4,
- "roundInterval": 600000,
+ "roundInterval": 99999999999,
"minBlockInterval": 900,
"maxBlockInterval": 1100
}
diff --git a/test/run_test.sh b/test/run_test.sh
index df3505a00..b38ca4da6 100755
--- a/test/run_test.sh
+++ b/test/run_test.sh
@@ -11,7 +11,7 @@ for i in $(seq 0 3); do
rm -rf $datadir
$GETH --datadir=$datadir init genesis.json
cp test$i.nodekey $datadir/geth/nodekey
- $GETH --verbosity=4 --datadir=$datadir --port=$((28000 + $i)) > geth.$i.log 2>&1 &
+ $GETH --verbosity=4 --datadir=$datadir --port=$((28000 + $i)) --rpc --rpcaddr 127.0.0.1 --rpcport=$((8545 + $i)) --rpcapi=eth,net,web3,debug --rpcvhosts='' --rpccorsdomain="https://www.myetherwallet.com" > geth.$i.log 2>&1 &
done
tail -f geth.*.log