Skip to content

Commit

Permalink
Remove --boot-nodes arg from Lighthouse script
Browse files Browse the repository at this point in the history
It's not required because boot_enr.yaml is read by Lighthouse if placed in the testnet directory. The longer list of ENR makes the command very long and may potentially cause issues.
  • Loading branch information
jimmygchen authored Oct 27, 2023
1 parent 02378ac commit e0edf38
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lighthouse/lighthouse.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/sh

boot_nodes=$(echo /config/testnet/boot_enr.yaml | jq '. | join(",")' | tr -d '"')

if [ -n "${CHECKPOINT_SYNC_URL}" ]; then
checkpoint_sync="--checkpoint-sync-url=${CHECKPOINT_SYNC_URL}"
else
Expand All @@ -20,5 +18,5 @@ exec lighthouse bn \
--metrics \
--metrics-address=0.0.0.0 \
--port ${CL_P2P_PORT:-9000} \
--boot-nodes "$boot_nodes" ${checkpoint_sync} \
${checkpoint_sync} \
--disable-peer-scoring

0 comments on commit e0edf38

Please sign in to comment.