diff --git a/scripts/local_testnet/geth.sh b/scripts/local_testnet/geth.sh index b2344b0bc7..bf6f996e69 100755 --- a/scripts/local_testnet/geth.sh +++ b/scripts/local_testnet/geth.sh @@ -33,16 +33,14 @@ http_port=${@:$OPTIND+2:1} auth_port=${@:$OPTIND+3:1} genesis_file=${@:$OPTIND+4:1} -geth_binary=/home/sean/CLionProjects/eip4844-interop/geth/go-ethereum/build/bin/geth - # Init -$geth_binary init \ +$GETH_BINARY init \ --datadir $data_dir \ $genesis_file echo "Completed init" -exec $geth_binary \ +exec $GETH_BINARY \ --datadir $data_dir \ --ipcdisable \ --http \ diff --git a/scripts/local_testnet/vars.env b/scripts/local_testnet/vars.env index c4226d3979..e8e822cd5c 100644 --- a/scripts/local_testnet/vars.env +++ b/scripts/local_testnet/vars.env @@ -1,3 +1,5 @@ +GETH_BINARY=geth + # Base directories for the validator keys and secrets DATADIR=~/.lighthouse/local-testnet