From a85a85f94b9c2ef50930d5680a2ea2488ee06d04 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Wed, 1 May 2024 12:48:43 +0800 Subject: [PATCH] [wip] fix status script --- .../cerc-fixturenet-eth-lighthouse/scripts/status.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stack_orchestrator/data/container-build/cerc-fixturenet-eth-lighthouse/scripts/status.sh b/stack_orchestrator/data/container-build/cerc-fixturenet-eth-lighthouse/scripts/status.sh index d9f33d1b..e054bc7d 100755 --- a/stack_orchestrator/data/container-build/cerc-fixturenet-eth-lighthouse/scripts/status.sh +++ b/stack_orchestrator/data/container-build/cerc-fixturenet-eth-lighthouse/scripts/status.sh @@ -9,7 +9,7 @@ STATUSES=( "beacon phase0" "beacon altair" "beacon bellatrix pre-merge" - "beacon bellatrix merge" + "beacon post-merge" "block number $MIN_BLOCK_NUM" ) STATUS=0 @@ -69,13 +69,13 @@ while [ $STATUS -lt ${#STATUSES[@]} ]; do ;; 2) result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'` - if [ ! -z "$result" ] && ([ "$result" == "altair" ] || [ "$result" == "bellatrix" ]); then + if [ ! -z "$result" ] && ([ "$result" == "altair" ] || [ "$result" == "bellatrix" ] || [ "$result" == "capella" ] || [ "$result" == "deneb" ]); then inc_status fi ;; 3) result=`wget --no-check-certificate --quiet -O - "$LIGHTHOUSE_BASE_URL/eth/v2/beacon/blocks/head" | jq -r '.version'` - if [ ! -z "$result" ] && [ "$result" == "bellatrix" ]; then + if [ ! -z "$result" ] && ([ "$result" == "bellatrix" ] || [ "$result" == "capella" ] || [ "$result" == "deneb" ]); then inc_status fi ;;