fix: typo

This commit is contained in:
Jaynti Kanani 2020-05-28 00:31:05 +05:30
parent 883aa5159f
commit c502bceb13
No known key found for this signature in database
GPG key ID: 4396982C976BAE5E

View file

@ -63,13 +63,15 @@ jobs:
VALIDATOR_ADDRESS=$2
NODE_TYPE=$3
args="/usr/bin/bor --datadir /etc/bor/dataDir --port '30303' --rpc --rpcaddr '0.0.0.0' --rpcvhosts '*' --rpccorsdomain '*' --rpcport '8545' --ipcpath /etc/bor/bor.ipc --rpcapi 'db,eth,net,web3,txpool,bor' --networkid $NETWORK_ID --miner.gaslimit '20000000' --txpool.nolocals --txpool.accountslots '128' --txpool.globalslots '20000' --txpool.lifetime '0h16m0s'"
DATA_DIR=/etc/bor/dataDir
args="/usr/bin/bor --datadir $DATA_DIR --port '30303' --rpc --rpcaddr '0.0.0.0' --rpcvhosts '*' --rpccorsdomain '*' --rpcport '8545' --ipcpath /etc/bor/bor.ipc --rpcapi 'db,eth,net,web3,txpool,bor' --networkid $NETWORK_ID --miner.gaslimit '20000000' --txpool.nolocals --txpool.accountslots '128' --txpool.globalslots '20000' --txpool.lifetime '0h16m0s'"
if [[ $NODE_TYPE == 'validator' ]]; then
args+="
--keystore $BOR_DIR/keystore \
--keystore $DATA_DIR/keystore \
--unlock $VALIDATOR_ADDRESS \
--password $BOR_DIR/password.txt \
--password $DATA_DIR/password.txt \
--allow-insecure-unlock \
--nodiscover --maxpeers 1 \
--mine
@ -84,9 +86,9 @@ jobs:
if [[ $NODE_TYPE == 'validator-without-sentry' ]]; then
args+="
--keystore $BOR_DIR/keystore \
--keystore $DATA_DIR/keystore \
--unlock $VALIDATOR_ADDRESS \
--password $BOR_DIR/password.txt \
--password $DATA_DIR/password.txt \
--allow-insecure-unlock \
--maxpeers 200 \
--mine