From 3cb11db1493457db3bcf72638f0d72099e7c6a05 Mon Sep 17 00:00:00 2001 From: Patryk Krakos Date: Wed, 5 Jan 2022 12:30:54 +0100 Subject: [PATCH 1/2] Remove orchestrator --- shell_scripts/install-unix.sh | 1 - shell_scripts/lukso | 238 ++-------------------------------- 2 files changed, 11 insertions(+), 228 deletions(-) diff --git a/shell_scripts/install-unix.sh b/shell_scripts/install-unix.sh index b8d136c..e0269f0 100755 --- a/shell_scripts/install-unix.sh +++ b/shell_scripts/install-unix.sh @@ -79,7 +79,6 @@ download_network_config l15-dev; sudo rm -rf /opt/lukso/tmp; sudo lukso bind-binaries \ ---orchestrator v0.2.0-rc.2 \ --pandora v0.2.0-rc.2 \ --vanguard v0.2.0-rc.2 \ --validator v0.2.0-rc.2 \ diff --git a/shell_scripts/lukso b/shell_scripts/lukso index 48d9966..d0c8b47 100755 --- a/shell_scripts/lukso +++ b/shell_scripts/lukso @@ -49,19 +49,12 @@ EXTERNAL_IP=$(curl -s ident.me) ###### General variables HTTP_CONNECTIVITY=false VANGUARD_RPC="127.0.0.1:4000" -ORC_PANDORA_RPC="ws://127.0.0.1:8546" ###### -###### Orchestrator settings -ORC_HTTP_ADDR="127.0.0.1" -ORC_HTTP_PORT="7877" -ORC_WS_ADDR="127.0.0.1" -ORC_WS_PORT="7878" -ORC_VERBOSITY=info -ORCHESTRATOR_VANGUARD_RPC_ENDPOINT=$VANGUARD_RPC -ORCHESTRATOR_PANDORA_RPC_ENDPOINT=$ORC_PANDORA_RPC + + SECONDS_PER_SLOT=6 -###### + ###### Pandora settings PANDORA_PORT="30405" @@ -82,7 +75,6 @@ CORS_DOMAIN="" VANGUARD_VERBOSITY=info VANGUARD_HTTP_WEB3PROVIDER="http://127.0.0.1:8545" VANGUARD_RPC_HOST="127.0.0.1" -VANGUARD_ORC_RPC_PROVIDER="http://127.0.0.1:7877" VANGUARD_BOOTNODES="" VANGUARD_P2P_PRIV_KEY="" VANGUARD_P2P_HOST_DNS="" @@ -161,9 +153,6 @@ download_binary() { TAG="$2" case $CLIENT in - lukso-orchestrator) - REPO="lukso-orchestrator" - ;; pandora) REPO="pandora-execution-engine" @@ -380,58 +369,6 @@ check_validator_requirements() { } -start_orchestrator() { - mkdir -p "$LOGSDIR"/orchestrator - echo -n $RUN_DATE >|"$LOGSDIR"/orchestrator/current.tmp - if [[ ! -d "$DATADIR/orchestrator" ]]; then - mkdir -p $DATADIR/orchestrator - fi - - ARGUMENTS=( - "--datadir=$DATADIR/orchestrator" - "--verbosity=$ORC_VERBOSITY" - ) - - if [[ -n $CUSTOM_GENESIS_TIME ]]; then - CUSTOM_GENESIS_TIME_FLAGS=( - "--genesis-time=$CUSTOM_GENESIS_TIME" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${CUSTOM_GENESIS_TIME_FLAGS[@]}") - fi - - if [[ -n $SECONDS_PER_SLOT ]]; then - SECONDS_PER_SLOT_FLAGS=( - "--seconds-per-slot=$SECONDS_PER_SLOT" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${SECONDS_PER_SLOT_FLAGS[@]}") - fi - - if [[ "$HTTP_CONNECTIVITY" == "true" ]]; then - HTTP_FLAGS=( - "--http" - "--http.addr=$ORC_HTTP_ADDR" - "--http.port=$ORC_HTTP_PORT" - "--ws" - "--ws.addr=$ORC_WS_ADDR" - "--ws.port=$ORC_WS_PORT" - "--vanguard-grpc-endpoint=$ORCHESTRATOR_VANGUARD_RPC_ENDPOINT" - "--pandora-rpc-endpoint=$ORCHESTRATOR_PANDORA_RPC_ENDPOINT" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${HTTP_FLAGS[@]}") - else - IPC_FLAGS=( - "--vanguard-grpc-endpoint=$DATADIR/vanguard/vanguard.ipc" - "--pandora-rpc-endpoint=$DATADIR/pandora/geth.ipc" - "--ipcpath=$DATADIR/orchestrator" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${IPC_FLAGS[@]}") - fi - - nohup lukso-orchestrator \ - "${ARGUMENTS[@]}" \ - >|$LOGSDIR/orchestrator/orchestrator_"$RUN_DATE".log 2>&1 & - disown -} start_pandora() { @@ -487,9 +424,7 @@ start_pandora() { ) ARGUMENTS=("${ARGUMENTS[@]}" "${FLAGS[@]}") else - FLAGS=( - "--miner.notify=$DATADIR/orchestrator/orchestrator.ipc" - ) + FLAGS=() ARGUMENTS=("${ARGUMENTS[@]}" "${FLAGS[@]}") fi @@ -600,7 +535,6 @@ start_vanguard() { RPC_ARGUMENTS=( "--rpc-host=$VANGUARD_RPC_HOST" "--rpc-port=$VANGUARD_RPC_PORT" - "--orc-rpc-provider=$VANGUARD_ORC_RPC_PROVIDER" "--http-web3provider=$VANGUARD_HTTP_WEB3PROVIDER" "--monitoring-host=$VANGUARD_MONITORING_HOST" "--monitoring-port=$VANGUARD_MONITORING_PORT" @@ -611,7 +545,6 @@ start_vanguard() { "--disable-monitoring" "--disable-grpc-gateway" "--rpc-host=$DATADIR/vanguard/vanguard.ipc" - "--orc-rpc-provider=$DATADIR/orchestrator/orchestrator.ipc" "--http-web3provider=$DATADIR/pandora/geth.ipc" ) ARGUMENTS=("${ARGUMENTS[@]}" "${RPC_ARGUMENTS[@]}") @@ -753,9 +686,6 @@ start_all() { if [[ "$IS_VALIDATOR" == true ]]; then check_validator_requirements fi - echo "################# Starting orchestrator #################" - start_orchestrator - sleep 2 echo "################# Starting pandora #######################" start_pandora @@ -795,10 +725,6 @@ start() { echo -n "Starting: " case $ARGUMENT in - orchestrator) - echo "orchestrator client" - start_orchestrator - ;; pandora) echo "pandora client" start_pandora @@ -827,19 +753,6 @@ start() { esac } -stop_orchestrator() { - echo -n "Stopping orchestrator client " - if [[ "$FORCE" == true ]]; then - echo "[FORCE]" - sudo kill -9 $(sudo lsof -t -i:7877) &>/dev/null - sleep 1 - else - echo - sudo kill $(sudo lsof -t -i:7877) &>/dev/null - sleep 1 - fi -} - stop_pandora() { echo -n "Stopping pandora client... " if [[ "$FORCE" == true ]]; then @@ -918,7 +831,6 @@ stop_all() { stop_validator & stop_vanguard & stop_pandora & - stop_orchestrator & stop_eth2stats_client & stop_lukso_status } @@ -939,9 +851,6 @@ stop() { fi fi case "$ARGUMENT" in - orchestrator) - stop_orchestrator - ;; pandora) stop_pandora ;; @@ -963,10 +872,6 @@ stop() { esac } -reset_orchestrator() { - rm -rf $DATADIR/orchestrator -} - reset_pandora() { rm -rf $DATADIR/pandora } @@ -984,7 +889,6 @@ reset_eth2stats_client() { } reset_all() { - reset_orchestrator reset_pandora reset_vanguard reset_validator @@ -1000,9 +904,6 @@ reset() { fi case "$ARGUMENT" in - orchestrator) - reset_orchestrator - ;; pandora) reset_pandora ;; @@ -1019,7 +920,7 @@ reset() { reset_all ;; *) - echo "Choose a client: [orchestrator, pandora, vanguard, validator, all] " + echo "Choose a client: [pandora, vanguard, validator, all] " ;; esac } @@ -1030,13 +931,13 @@ help() { echo echo "Available commands with arguments:" echo "start Starts up all or specific client(s)" - echo " [orchestrator, pandora, vanguard, validator, eth2stats-client, lukso-status, all]" + echo " [pandora, vanguard, validator, eth2stats-client, lukso-status, all]" echo echo "stop Stops all or specific client(s)" - echo " [orchestrator, pandora, vanguard, validator, eth2stats-client, lukso-status, all]" + echo " [pandora, vanguard, validator, eth2stats-client, lukso-status, all]" echo echo "reset Clears client(s) datadirs (this also removes chain-data) " - echo " [orchestrator, pandora, vanguard, validator, all, none]" + echo " [pandora, vanguard, validator, all, none]" echo echo "config Interactive tool for creating config file" echo @@ -1045,11 +946,11 @@ help() { echo "wallet Imports lukso-deposit-cli keys" echo echo "logs Shows logs" - echo " [orchestrator, pandora, vanguard, validator, eth2stats-client, lukso-status]" + echo " [pandora, vanguard, validator, eth2stats-client, lukso-status]" echo echo "attach Attaches to pandora console via IPC socket (use with --datadir if not default). You cannot reach remote HTTP or WS via this command" echo - echo "bind-binaries sets client(s) to desired version, use with flags for setting tag: --orchestrator v0.2.0-rc.1, --pandora v0.2.0-rc.1, --vanguard v0.2.0-rc.1, --validator v0.2.0-rc.1" + echo "bind-binaries sets client(s) to desired version, use with flags for setting tag: --pandora v0.2.0-rc.1, --vanguard v0.2.0-rc.1, --validator v0.2.0-rc.1" echo echo echo "Available commands without arguments:" @@ -1095,12 +996,6 @@ help() { echo "--lukso-status Sets lukso-status tag to be used" echo " [Tag name ex. v0.2.0-rc.1]" echo - echo "--orchestrator Sets orchestrator tag to be used" - echo " [Tag name ex. v0.2.0-rc.1]" - echo - echo "--orchestrator-verbosity Sets orchestrator logging depth" - echo " [silent, error, warn, info, debug, trace]" - echo echo "--pandora Sets pandora tag to be used" echo " [Tag name ex. v0.2.0-rc.1]" echo @@ -1199,26 +1094,12 @@ help() { echo echo "--van-grpc-gateway-port Vanguard gRPC gateway port. The port on which the gateway server runs on (default: 3500)" echo - echo "--vanguard-orc-rpc-provider [Requires --http-connectivity] A orchestrator string rpc endpoint. This is our orchestrator client http endpoint or socket path. (default: http://127.0.0.1:7877)" - echo echo "--validator-beacon-rpc-provider [Requires --http-connectivity] Beacon node (vanguard) RPC provider endpoint. (default: $VANGUARD_RPC)" echo echo "--validator-pandora-http-provider [Requires --http-connectivity] A pandora string rpc endpoint. This is our pandora client http endpoint. (default: http://127.0.0.1:8545)" echo - echo "--orchestrator-vanguard-rpc-endpoint [Requires --http-connectivity] Enables Vanguard node RPC provider endpoint. (default: $VANGUARD_RPC)" - echo - echo "--orchestrator-pandora-rpc-endpoint [Requires --http-connectivity] Pandora node RP provider endpoint. (default: $ORC_PANDORA_RPC)" - echo echo "--eth2stats-beacon-addr Beacon node endpoint address for eth2stats-client. (default: $VANGUARD_RPC)" echo - echo "--orc-http-port Orchestrator HTTP port exposed. (default: 7877)" - echo - echo "--orc-http-addr Orchestrator HTTP address exposed. (default: 127.0.0.1)" - echo - echo "--orc-ws-port Orchestrator websocket port exposed. (default: 7878)" - echo - echo "--orc-ws-addr Orchestrator websocket address exposed. (default: 127.0.0.1)" - echo echo "--pan-port Pandora client TCP/UDP port exposed. (default: 30405)" echo echo "--pan-http-addr Pandora client http address exposed. (default: 127.0.0.1)" @@ -1249,9 +1130,6 @@ help() { logs() { case "$1" in - orchestrator) - CLIENT="orchestrator" - ;; pandora) CLIENT="pandora" ;; @@ -1297,12 +1175,6 @@ while getopts "$optspec" optchar; do -) case "${OPTARG}" in - orchestrator) - val="${!OPTIND}" - OPTIND=$(($OPTIND + 1)) - bind_binary lukso-orchestrator $val - ;; - pandora) val="${!OPTIND}" OPTIND=$(($OPTIND + 1)) @@ -1443,12 +1315,6 @@ while getopts "$optspec" optchar; do OVERRIDE_WITH_ETH2STATS=$val ;; - orchestrator-verbosity) - val="${!OPTIND}" - OPTIND=$(($OPTIND + 1)) - OVERRIDE_ORCHESTRATOR_VERBOSITY=$val - ;; - pandora-bootnodes) val="${!OPTIND}" OPTIND=$(($OPTIND + 1)) @@ -1548,12 +1414,6 @@ while getopts "$optspec" optchar; do OVERRIDE_VANGUARD_RPC_HOST="$val" ;; - vanguard-orc-rpc-provider) - val="${!OPTIND}" - OPTIND=$(($OPTIND + 1)) - OVERRIDE_VANGUARD_ORC_RPC_PROVIDER=$val - ;; - van-min-sync-peers) val="${!OPTIND}" OPTIND=$(($OPTIND + 1)) @@ -1572,42 +1432,6 @@ while getopts "$optspec" optchar; do OVERRIDE_VAN_ETHSTATS_METRICS=$val ;; - orchestrator-vanguard-rpc-endpoint) - val="${!OPTIND}" - OPTIND=$(($OPTIND + 1)) - OVERRIDE_ORCHESTRATOR_VANGUARD_RPC_ENDPOINT=$val - ;; - - orchestrator-pandora-rpc-endpoint) - val="${!OPTIND}" - OPTIND=$(($OPTIND + 1)) - OVERRIDE_ORCHESTRATOR_PANDORA_RPC_ENDPOINT=$val - ;; - - orc-http-address) - val="${!OPTIND}" - OPTIND=$(($OPTIND + 1)) - OVERRIDE_ORC_HTTP_ADDR=$val - ;; - - orc-http-port) - val="${!OPTIND}" - OPTIND=$(($OPTIND + 1)) - OVERRIDE_ORC_HTTP_PORT=$val - ;; - - orc-ws-address) - val="${!OPTIND}" - OPTIND=$(($OPTIND + 1)) - OVERRIDE_ORC_WS_ADDR=$val - ;; - - orc-ws-port) - val="${!OPTIND}" - OPTIND=$(($OPTIND + 1)) - OVERRIDE_ORC_WS_PORT=$val - ;; - pan-port) val="${!OPTIND}" OPTIND=$(($OPTIND + 1)) @@ -1772,7 +1596,7 @@ fi parse_config "/opt/lukso/networks/$NETWORK/config/network-config.yaml" -# Prepare custom genesis timestamp for Orchestrator genesis flag based on downloaded network-config value +# Prepare custom genesis timestamp for genesis flag based on downloaded network-config value CUSTOM_GENESIS_TIME=$(echo -n $GENESIS_TIME) # Override config file @@ -1788,10 +1612,6 @@ if [[ -n $OVERRIDE_IS_VALIDATOR ]]; then IS_VALIDATOR=$OVERRIDE_IS_VALIDATOR fi -if [[ -n $OVERRIDE_ORCHESTRATOR_VERBOSITY ]]; then - ORC_VERBOSITY=$OVERRIDE_ORCHESTRATOR_VERBOSITY -fi - if [[ -n $OVERRIDE_PANDORA_BOOTNODES ]]; then PANDORA_BOOTNODES=$OVERRIDE_PANDORA_BOOTNODES fi @@ -1882,18 +1702,6 @@ if [[ -n $OVERRIDE_VANGUARD_RPC_HOST ]]; then VANGUARD_RPC_HOST=$OVERRIDE_VANGUARD_RPC_HOST fi -if [[ -n $OVERRIDE_VANGUARD_ORC_RPC_PROVIDER ]]; then - VANGUARD_ORC_RPC_PROVIDER=$OVERRIDE_VANGUARD_ORC_RPC_PROVIDER -fi - -if [[ -n $OVERRIDE_ORCHESTRATOR_VANGUARD_RPC_ENDPOINT ]]; then - ORCHESTRATOR_VANGUARD_RPC_ENDPOINT=$OVERRIDE_ORCHESTRATOR_VANGUARD_RPC_ENDPOINT -fi - -if [[ -n $OVERRIDE_ORCHESTRATOR_PANDORA_RPC_ENDPOINT ]]; then - ORCHESTRATOR_PANDORA_RPC_ENDPOINT=$OVERRIDE_ORCHESTRATOR_PANDORA_RPC_ENDPOINT -fi - if [[ -n $OVERRIDE_VALIDATOR_BEACON_RPC_PROVIDER ]]; then VALIDATOR_BEACON_RPC_PROVIDER=$OVERRIDE_VALIDATOR_BEACON_RPC_PROVIDER fi @@ -1948,22 +1756,6 @@ if [[ -n $OVERRIDE_ALLOW_RESPIN ]]; then ALLOW_RESPIN=$OVERRIDE_ALLOW_RESPIN fi -if [[ -n $OVERRIDE_ORC_HTTP_ADDR ]]; then - ORC_HTTP_ADDR=$OVERRIDE_ORC_HTTP_ADDR -fi - -if [[ -n $OVERRIDE_ORC_HTTP_PORT ]]; then - ORC_HTTP_PORT=$OVERRIDE_ORC_HTTP_PORT -fi - -if [[ -n $OVERRIDE_ORC_WS_ADDR ]]; then - ORC_WS_ADDR=$OVERRIDE_ORC_WS_ADDR -fi - -if [[ -n $OVERRIDE_ORC_WS_PORT ]]; then - ORC_WS_PORT=$OVERRIDE_ORC_WS_PORT -fi - if [[ -n $OVERRIDE_PANDORA_PORT ]]; then PANDORA_PORT=$OVERRIDE_PANDORA_PORT fi @@ -1976,14 +1768,6 @@ if [[ -n $OVERRIDE_PANDORA_HTTP_PORT ]]; then PANDORA_HTTP_PORT=$OVERRIDE_PANDORA_HTTP_PORT fi -if [[ -n $OVERRIDE_ORC_WS_ADDR ]]; then - ORC_WS_ADDR=$OVERRIDE_ORC_WS_ADDR -fi - -if [[ -n $OVERRIDE_ORC_WS_PORT ]]; then - ORC_WS_PORT=$OVERRIDE_ORC_WS_PORT -fi - if [[ -n $OVERRIDE_PANDORA_WS_ADDR ]]; then PANDORA_WS_ADDR=$OVERRIDE_PANDORA_WS_ADDR fi From 358145e9e63f39dbb1e4fccd11e51ec97e35fbbc Mon Sep 17 00:00:00 2001 From: Patryk Krakos Date: Wed, 5 Jan 2022 13:18:45 +0100 Subject: [PATCH 2/2] Remove IPC --- shell_scripts/lukso | 81 ++++++++++----------------------------------- 1 file changed, 17 insertions(+), 64 deletions(-) diff --git a/shell_scripts/lukso b/shell_scripts/lukso index d0c8b47..307b42a 100755 --- a/shell_scripts/lukso +++ b/shell_scripts/lukso @@ -410,23 +410,15 @@ start_pandora() { "--miner.gaslimit=80000000" "--syncmode=full" "--verbosity=$PANDORA_VERBOSITY" + "--http" + "--http.addr=$PANDORA_HTTP_ADDR" + "--http.port=$PANDORA_HTTP_PORT" + "--ws" + "--ws.addr=$PANDORA_WS_ADDR" + "--ws.port=$PANDORA_WS_PORT" + "--miner.notify=$PAN_WS_MINER_NOTIFY,$PAN_HTTP_MINER_NOTIFY" ) - if [[ $HTTP_CONNECTIVITY == "true" ]]; then - FLAGS=( - "--http" - "--http.addr=$PANDORA_HTTP_ADDR" - "--http.port=$PANDORA_HTTP_PORT" - "--ws" - "--ws.addr=$PANDORA_WS_ADDR" - "--ws.port=$PANDORA_WS_PORT" - "--miner.notify=$PAN_WS_MINER_NOTIFY,$PAN_HTTP_MINER_NOTIFY" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${FLAGS[@]}") - else - FLAGS=() - ARGUMENTS=("${ARGUMENTS[@]}" "${FLAGS[@]}") - fi if [[ $COINBASE ]]; then MINER_ARGUMENTS=( @@ -529,26 +521,13 @@ start_vanguard() { "--grpc-gateway-port=$VANGUARD_GRPC_GATEWAY_PORT" "--update-head-timely" "--lukso-network" + "--rpc-host=$VANGUARD_RPC_HOST" + "--rpc-port=$VANGUARD_RPC_PORT" + "--http-web3provider=$VANGUARD_HTTP_WEB3PROVIDER" + "--monitoring-host=$VANGUARD_MONITORING_HOST" + "--monitoring-port=$VANGUARD_MONITORING_PORT" ) - if [[ $HTTP_CONNECTIVITY == "true" ]]; then - RPC_ARGUMENTS=( - "--rpc-host=$VANGUARD_RPC_HOST" - "--rpc-port=$VANGUARD_RPC_PORT" - "--http-web3provider=$VANGUARD_HTTP_WEB3PROVIDER" - "--monitoring-host=$VANGUARD_MONITORING_HOST" - "--monitoring-port=$VANGUARD_MONITORING_PORT" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${RPC_ARGUMENTS[@]}") - else - RPC_ARGUMENTS=( - "--disable-monitoring" - "--disable-grpc-gateway" - "--rpc-host=$DATADIR/vanguard/vanguard.ipc" - "--http-web3provider=$DATADIR/pandora/geth.ipc" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${RPC_ARGUMENTS[@]}") - fi if [[ -n $VANGUARD_P2P_PRIV_KEY ]]; then ARGUMENTS=("${ARGUMENTS[@]}" "--p2p-priv-key=$VANGUARD_P2P_PRIV_KEY") @@ -586,26 +565,11 @@ start_validator() { "--wallet-dir=$WALLET_DIR" "--log-file=$LOGSDIR/validator/validator_$RUN_DATE.log" "--lukso-network" + "--rpc" + "--beacon-rpc-provider=$VALIDATOR_BEACON_RPC_PROVIDER" + "--pandora-http-provider=$VALIDATOR_PANDORA_HTTP_PROVIDER" ) - if [[ $HTTP_CONNECTIVITY == "false" ]]; then - IPC_FLAGS=( - "--disable-monitoring" - "--beacon-rpc-provider=$DATADIR/vanguard/vanguard.ipc" - "--pandora-http-provider=$DATADIR/pandora/geth.ipc" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${IPC_FLAGS[@]}") - fi - - if [[ $HTTP_CONNECTIVITY == "true" ]]; then - HTTP_FLAGS=( - "--rpc" - "--beacon-rpc-provider=$VALIDATOR_BEACON_RPC_PROVIDER" - "--pandora-http-provider=$VALIDATOR_PANDORA_HTTP_PROVIDER" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${HTTP_FLAGS[@]}") - fi - if [[ -n $VALIDATOR_PASSWORD_FILE ]]; then ARGUMENTS=("${ARGUMENTS[@]}" "--wallet-password-file=$VALIDATOR_PASSWORD_FILE") fi @@ -650,21 +614,10 @@ start_eth2stats_client() { "--eth2stats.node-name=$NODE_NAME" "--eth2stats.addr=$VAN_ETHSTATS" "--eth2stats.tls=false" + "--beacon.metrics-addr=$VAN_ETHSTATS_METRICS" + "--beacon.addr=$ETH2STATS_BEACON_ADDR" ) - if [[ $HTTP_CONNECTIVITY == "true" ]]; then - HTTP_FLAGS=( - "--beacon.metrics-addr=$VAN_ETHSTATS_METRICS" - "--beacon.addr=$ETH2STATS_BEACON_ADDR" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${HTTP_FLAGS[@]}") - else - IPC_FLAGS=( - "--beacon.addr=$DATADIR/vanguard/vanguard.ipc" - ) - ARGUMENTS=("${ARGUMENTS[@]}" "${IPC_FLAGS[@]}") - fi - nohup eth2stats-client run \ "${ARGUMENTS[@]}" \ >|"$LOGSDIR"/eth2stats/eth2stats_"$RUN_DATE".log 2>&1 &