diff --git a/build/entrypoint.sh b/build/entrypoint.sh index f951741..961694f 100755 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -29,15 +29,11 @@ case $_DAPPNODE_GLOBAL_EXECUTION_CLIENT_PRATER in ;; esac +# MEVBOOST: https://docs.teku.consensys.net/en/latest/HowTo/Builder-Network/ if [ -n "$_DAPPNODE_GLOBAL_MEVBOOST_PRATER" ] && [ "$_DAPPNODE_GLOBAL_MEVBOOST_PRATER" == "true" ]; then echo "MEVBOOST is enabled" MEVBOOST_URL="http://mev-boost.mev-boost-goerli.dappnode:18550" - if curl --retry 5 --retry-delay 5 --retry-all-errors "${MEVBOOST_URL}"; then - EXTRA_OPTS="${EXTRA_OPTS} --payload-builder=true --payload-builder-url=${MEVBOOST_URL}" - else - echo "MEVBOOST is enabled but ${MEVBOOST_URL} is not reachable" - curl -X POST -G 'http://my.dappnode/notification-send' --data-urlencode 'type=danger' --data-urlencode title="${MEVBOOST_URL} is not available" --data-urlencode 'body=Make sure the mevboost is available and running' - fi + EXTRA_OPTS="${EXTRA_OPTS} --payload-builder=true --payload-builder-url=${MEVBOOST_URL}" fi #Handle Graffiti Character Limit