Skip to content

Commit

Permalink
Fix enabling builder if mev-boost is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Aug 14, 2024
1 parent 1398d56 commit 45db9d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion beacon-chain/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion validator/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 45db9d0

Please sign in to comment.