From 45db9d01dd463da04cbda92dbb89a93ebc1360ea Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Wed, 14 Aug 2024 14:07:29 +0100 Subject: [PATCH] Fix enabling builder if mev-boost is enabled --- beacon-chain/entrypoint.sh | 2 +- validator/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon-chain/entrypoint.sh b/beacon-chain/entrypoint.sh index bcf4334..52414e1 100755 --- a/beacon-chain/entrypoint.sh +++ b/beacon-chain/entrypoint.sh @@ -23,7 +23,7 @@ case $_DAPPNODE_GLOBAL_EXECUTION_CLIENT_HOLESKY in esac # MEV-Boost: https://chainsafe.github.io/lodestar/beacon-management/mev-and-builder-integration/ -if [ -n "$_DAPPNODE_GLOBAL_MEVBOOST_HOLESKY" ] && [ "$_DAPPNODE_GLOBAL_MEVBOOST_HOLESKY" == "true" ]; then +if [ -n "$_DAPPNODE_GLOBAL_MEVBOOST_HOLESKY" ] && [ "$_DAPPNODE_GLOBAL_MEVBOOST_HOLESKY" = "true" ]; then echo "MEV-Boost is enabled" MEVBOOST_URL="http://mev-boost.mev-boost-holesky.dappnode:18550" if curl --retry 5 --retry-delay 5 --retry-all-errors "${MEVBOOST_URL}"; then diff --git a/validator/entrypoint.sh b/validator/entrypoint.sh index 6da2320..54c2aa1 100755 --- a/validator/entrypoint.sh +++ b/validator/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/sh # MEV-Boost: https://chainsafe.github.io/lodestar/beacon-management/mev-and-builder-integration/ -if [ -n "$_DAPPNODE_GLOBAL_MEVBOOST_HOLESKY" ] && [ "$_DAPPNODE_GLOBAL_MEVBOOST_HOLESKY" == "true" ]; then +if [ -n "$_DAPPNODE_GLOBAL_MEVBOOST_HOLESKY" ] && [ "$_DAPPNODE_GLOBAL_MEVBOOST_HOLESKY" = "true" ]; then echo "MEV-Boost is enabled" EXTRA_OPTS="--builder ${EXTRA_OPTS}" fi