Skip to content

Commit

Permalink
clients/lodestar-vc: add --builder flag (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz authored Nov 24, 2023
1 parent b32641c commit 7461be6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clients/lodestar-vc/lodestar_vc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ do
done

metrics_option=$([[ "$HIVE_ETH2_METRICS_PORT" == "" ]] && echo "" || echo "--metrics --metrics.address=$CONTAINER_IP --metrics.port=$HIVE_ETH2_METRICS_PORT")
builder_option=$([[ "$HIVE_ETH2_BUILDER_ENDPOINT" == "" ]] && echo "--builder.selection executiononly" || echo "--builder")
echo BUILDER=$builder_option

LOG=info
case "$HIVE_LOGLEVEL" in
Expand All @@ -41,6 +43,7 @@ node /usr/app/node_modules/.bin/lodestar \
--paramsFile=/hive/input/config.yaml \
--keystoresDir="/data/validators" \
--secretsDir="/data/secrets" \
$metrics_option \
--useProduceBlockV3 \
$metrics_option $builder_option \
--beaconNodes="http://$HIVE_ETH2_BN_API_IP:$HIVE_ETH2_BN_API_PORT"

0 comments on commit 7461be6

Please sign in to comment.