Skip to content

Commit

Permalink
remove deprecated flags in truffle test
Browse files Browse the repository at this point in the history
  • Loading branch information
buddh0 committed Nov 20, 2024
1 parent 88f8a43 commit 5aebb24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/truffle/scripts/bsc-rpc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ while [ "$i" -lt ${account_cnt} ]; do
done

geth --config ${DATA_DIR}/config.toml --datadir ${DATA_DIR} --netrestrict ${CLUSTER_CIDR} \
--verbosity ${VERBOSE} --nousb --syncmode "full"\
--verbosity ${VERBOSE} --syncmode "full"\
--rpc.allow-unprotected-txs --history.transactions 15768000 \
-unlock ${unlock_sequences} --password /dev/null >${DATA_DIR}/bscnode-rpc.log
3 changes: 1 addition & 2 deletions tests/truffle/scripts/bsc-validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ HOST_IP=$(hostname -i)
echo "validator id: ${HOST_IP}"

geth --config ${DATA_DIR}/config.toml --datadir ${DATA_DIR} --netrestrict ${CLUSTER_CIDR} \
--verbosity ${VERBOSE} --nousb \
--verbosity ${VERBOSE} \
--bootnodes enode://${BOOTSTRAP_PUB_KEY}@${BOOTSTRAP_IP}:${BOOTSTRAP_TCP_PORT} \
--mine -unlock ${VALIDATOR_ADDR} --miner.etherbase ${VALIDATOR_ADDR} --password /dev/null \
--light.serve 50 \
--rpc.allow-unprotected-txs --history.transactions 15768000 >${DATA_DIR}/bscnode-validator.log

0 comments on commit 5aebb24

Please sign in to comment.