From 671979b18fdfe7cdaf2f1fd44fe36ad0d64eaacb Mon Sep 17 00:00:00 2001 From: prathamesh0 Date: Tue, 18 Apr 2023 13:39:46 +0530 Subject: [PATCH] Allow stalled sync in lighthouse beacon nodes --- .../cerc-fixturenet-eth-lighthouse/genesis/cl/beacon_node.sh | 3 ++- .../cerc-fixturenet-eth-lighthouse/genesis/cl/bootnode.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/data/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/beacon_node.sh b/app/data/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/beacon_node.sh index 93207d27..1f906155 100755 --- a/app/data/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/beacon_node.sh +++ b/app/data/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/beacon_node.sh @@ -38,4 +38,5 @@ exec lighthouse \ --execution-jwt $JWTSECRET \ --terminal-total-difficulty-override $ETH1_TTD \ --suggested-fee-recipient $SUGGESTED_FEE_RECIPIENT \ - --target-peers $((BN_COUNT - 1)) + --target-peers $((BN_COUNT - 1)) \ + --http-allow-sync-stalled \ diff --git a/app/data/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/bootnode.sh b/app/data/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/bootnode.sh index 7563371c..a395f41a 100755 --- a/app/data/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/bootnode.sh +++ b/app/data/container-build/cerc-fixturenet-eth-lighthouse/genesis/cl/bootnode.sh @@ -24,7 +24,7 @@ if [ ! -f "$DATADIR/bootnode/enr.dat" ]; then --output-dir $DATADIR/bootnode-temp # Output ENR to a temp dir and mv as "lcli generate-bootnode-enr" will not overwrite an empty dir (mounted volume) - mkdir -p $DATADIR/bootnode + mkdir -p $DATADIR/bootnode mv $DATADIR/bootnode-temp/* $DATADIR/bootnode rm -r $DATADIR/bootnode-temp