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-04-09 13:49:53 +0800
commitb0d9fe6fa466b85aee325a36164ae2d7b5721602 (patch)
treedf1a698c2c8a48d3fd30b0d43a13075198f093a8 /test
parent0638a80a2e512e1ff1a89685f04ab0d50bae011c (diff)
downloaddexon-b0d9fe6fa466b85aee325a36164ae2d7b5721602.tar
dexon-b0d9fe6fa466b85aee325a36164ae2d7b5721602.tar.gz
dexon-b0d9fe6fa466b85aee325a36164ae2d7b5721602.tar.bz2
dexon-b0d9fe6fa466b85aee325a36164ae2d7b5721602.tar.lz
dexon-b0d9fe6fa466b85aee325a36164ae2d7b5721602.tar.xz
dexon-b0d9fe6fa466b85aee325a36164ae2d7b5721602.tar.zst
dexon-b0d9fe6fa466b85aee325a36164ae2d7b5721602.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