Skip to content

Commit

Permalink
fix: mev-boost naming scheme change (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa authored Jan 2, 2024
1 parent 698305a commit fce899b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,13 @@ def enrich_disable_peer_scoring(parsed_arguments_dict):
# TODO perhaps clean this up into a map
def enrich_mev_extra_params(parsed_arguments_dict, mev_prefix, mev_port, mev_type):
for index, participant in enumerate(parsed_arguments_dict["participants"]):
mev_url = "http://{0}{1}:{2}".format(mev_prefix, index, mev_port)
mev_url = "http://{0}-{1}-{2}-{3}:{4}".format(
MEV_BOOST_SERVICE_NAME_PREFIX,
index,
participant["cl_client_type"],
participant["el_client_type"],
mev_port,
)

if participant["cl_client_type"] == "lighthouse":
participant["validator_extra_params"].append("--builder-proposals")
Expand Down

0 comments on commit fce899b

Please sign in to comment.