Skip to content

Commit 7461be6

Browse files
authored
clients/lodestar-vc: add --builder flag (#949)
1 parent b32641c commit 7461be6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clients/lodestar-vc/lodestar_vc.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ do
2222
done
2323

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

2628
LOG=info
2729
case "$HIVE_LOGLEVEL" in
@@ -41,6 +43,7 @@ node /usr/app/node_modules/.bin/lodestar \
4143
--paramsFile=/hive/input/config.yaml \
4244
--keystoresDir="/data/validators" \
4345
--secretsDir="/data/secrets" \
44-
$metrics_option \
46+
--useProduceBlockV3 \
47+
$metrics_option $builder_option \
4548
--beaconNodes="http://$HIVE_ETH2_BN_API_IP:$HIVE_ETH2_BN_API_PORT"
4649

0 commit comments

Comments
 (0)