Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/.devcontainer/bin/chain-specific-checks

17 lines
560 B

# The script is sourced from the main script, so the unsuccessful check must exit
# with non-zero code to terminate the main script.
source $(dirname $0)/utils
# Run the appropriate checks based on CHAIN_TYPE
case "${CHAIN_TYPE}" in
"arbitrum")
echo "Arbitrum sepcific checks"
# if the check is not successful, exit with code 1
check_server_availability ${INDEXER_ARBITRUM_L1_RPC}
check_server_accessibility ${INDEXER_ARBITRUM_L1_RPC}
;;
*)
echo "No special checks for CHAIN_TYPE: $CHAIN_TYPE"
;;
esac