Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MEV Boost to validator client only setup #1501

Merged
merged 1 commit into from
Sep 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ethd
Original file line number Diff line number Diff line change
Expand Up @@ -2209,6 +2209,15 @@ https://0x98650451ba02064f7b000f5768cf0cf4d4e492317d82871bdc87ef841a0743f69f0f1e
fi
var="MEV_BOOST"
value=$(sed -n -e "s/^${var}=\(.*\)/\1/p" ".env" || true)
# I do mean to match literally
# shellcheck disable=SC2076
if [[ "${CONSENSUS_CLIENT}" =~ "-vc-only.yml" ]]; then
if (whiptail --title "MEV Boost" --yesno "Is MEV Boost configured on your remote consensus client and do you want to use MEV Boost?" 10 60); then
MEV_BOOST="true"
MEV_RELAYS=""
fi
return
fi
if (whiptail --title "MEV Boost" --yesno "Do you want to use MEV Boost?" 10 60) then
MEV_BOOST="true"
if [ "${value}" = "true" ]; then
Expand Down Expand Up @@ -2351,6 +2360,7 @@ config() {
# This gets used, but shellcheck doesn't recognize that
# shellcheck disable=SC2034
CL_NODE="${REMOTE_BEACON}"
query_mev
query_coinbase
query_graffiti
fi
Expand Down