diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-29 09:20:57 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:19 +0800 |
commit | 3bc8c1628257b2fab50f260e048118fc56b1ab02 (patch) | |
tree | 4dacbb2704ab4fd10676b87964ae03940d704db8 /test/run_test.sh | |
parent | 4324cf089ad686b79d05444f03ed2468ab1ed644 (diff) | |
download | go-tangerine-3bc8c1628257b2fab50f260e048118fc56b1ab02.tar go-tangerine-3bc8c1628257b2fab50f260e048118fc56b1ab02.tar.gz go-tangerine-3bc8c1628257b2fab50f260e048118fc56b1ab02.tar.bz2 go-tangerine-3bc8c1628257b2fab50f260e048118fc56b1ab02.tar.lz go-tangerine-3bc8c1628257b2fab50f260e048118fc56b1ab02.tar.xz go-tangerine-3bc8c1628257b2fab50f260e048118fc56b1ab02.tar.zst go-tangerine-3bc8c1628257b2fab50f260e048118fc56b1ab02.zip |
test: improve keygen.go (#62)
Diffstat (limited to 'test/run_test.sh')
-rwxr-xr-x | test/run_test.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/run_test.sh b/test/run_test.sh index 7bcb0f688..5c4345925 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -10,7 +10,7 @@ NETWORK="${1}" if [ "$2" == "--local" ]; then NETWORK="${NETWORK} --bootnodes enode://0478aa13c91aa0db8e93b668313b7eb0532fbdb24f64772375373b14dbe326c238ad09ab4469f6442c9a9753f1275aeec2e531912c14a958ed1feb4ae7e227ef@127.0.0.1:30301" # Start bootnode. - bootnode -nodekey bootnode.key --verbosity=9 > bootnode.log 2>&1 & + bootnode -nodekey keystore/bootnode.key --verbosity=9 > bootnode.log 2>&1 & fi GDEX=../build/bin/gdex @@ -21,6 +21,11 @@ pkill -9 -f gdex logsdir=$PWD/log-$(date '+%Y-%m-%d-%H:%M:%S') mkdir $logsdir +if [ -e log-latest ]; then + rm -f log-previous + mv log-latest log-previous +fi + rm -f log-latest ln -s $logsdir log-latest @@ -32,7 +37,7 @@ $GDEX \ ${NETWORK} \ --verbosity=4 \ --gcmode=archive \ - --datadir=$datadir --nodekey=testrpc.nodekey \ + --datadir=$datadir --nodekey=keystore/rpc.key \ --rpc --rpcapi=eth,net,web3,debug \ --rpcaddr=0.0.0.0 --rpcport=8545 \ --ws --wsapi=eth,net,web3,debug \ @@ -50,7 +55,7 @@ for i in $(seq 0 3); do --bp \ --verbosity=4 \ --gcmode=archive \ - --datadir=$datadir --nodekey=test$i.nodekey \ + --datadir=$datadir --nodekey=keystore/test$i.key \ --port=$((30305 + $i)) \ --rpc --rpcapi=eth,net,web3,debug \ --rpcaddr=0.0.0.0 --rpcport=$((8547 + $i * 2)) \ |