lighthouse/scripts/local_testnet/validator_client.sh
Age Manning 5ed4c1daca Update vc testnet script (#1859)
Updates the local testnet VC scripts to match current functionality.
2020-11-10 02:36:14 +00:00

19 lines
324 B
Bash
Executable File

#!/usr/bin/env bash
#
# Starts a validator client based upon a genesis state created by
# `./local_testnet_genesis_state`.
#
source ./vars.env
DEBUG_LEVEL=${1:-info}
exec lighthouse \
--debug-level $DEBUG_LEVEL \
vc \
--datadir $DATADIR \
--testnet-dir $TESTNET_DIR \
--init-slashing-protection \
--allow-unsynced