From 002da5b3452b86fbcec1a4478d102370d7e94a02 Mon Sep 17 00:00:00 2001 From: Nabarun Date: Thu, 5 Oct 2023 14:23:17 +0530 Subject: [PATCH] Remove curl check in ponder start script --- app/data/config/ponder/ponder-start.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/data/config/ponder/ponder-start.sh b/app/data/config/ponder/ponder-start.sh index 99a84754..63bb7036 100755 --- a/app/data/config/ponder/ponder-start.sh +++ b/app/data/config/ponder/ponder-start.sh @@ -5,19 +5,6 @@ if [ -n "$CERC_SCRIPT_DEBUG" ]; then set -x fi -# Wait till RPC endpoint is available -retry_interval=5 -while true; do - rpc_response=$(curl -s -o /dev/null -w '%{http_code}' ${CERC_PONDER_RPC_URL_1}) - if [ ${rpc_response} = 200 ]; then - echo "RPC endpoint is available" - break - fi - - echo "RPC endpoint not yet available, retrying in $retry_interval seconds..." - sleep $retry_interval -done - nitro_addresses_file="/nitro/nitro-addresses.json" nitro_addresses_destination_file="/app/examples/token-erc20/nitro-addresses.json"