From 9382767f88690817de189a3551c37325389faf98 Mon Sep 17 00:00:00 2001 From: Gyanendra Mishra Date: Tue, 15 Aug 2023 14:55:58 +0100 Subject: [PATCH] fix: a bug around participants (#129) --- src/package_io/parse_input.star | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/package_io/parse_input.star b/src/package_io/parse_input.star index 17f96ad61..9b1585f1b 100644 --- a/src/package_io/parse_input.star +++ b/src/package_io/parse_input.star @@ -234,17 +234,21 @@ def get_default_mev_params(): def enrich_mev_extra_params(parsed_arguments_dict, mev_prefix, mev_port): for index, participant in enumerate(parsed_arguments_dict["participants"]): mev_url = "http://{0}{1}:{2}".format(mev_prefix, index, mev_port) + if participant["cl_client_type"] == "lighthouse": participant["validator_extra_params"].append("--builder-proposals") participant["beacon_extra_params"].append("--builder={0}".format(mev_url)) if participant["cl_client_type"] == "lodestar": participant["validator_extra_params"].append("--builder") - participant["beacon_extra_params"].append("--builder", "--builder.urls={0}".format(mev_url)) + participant["beacon_extra_params"].append("--builder") + participant["beacon_extra_params"].append("--builder.urls={0}".format(mev_url)) if participant["cl_client_type"] == "nimbus": participant["validator_extra_params"].append("--payload-builder=true") - participant["beacon_extra_params"].append("--payload-builder=true", "--payload-builder-urs={0}".format(mev_url)) + participant["beacon_extra_params"].append("--payload-builder=true") + participant["beacon_extra_params"].append("--payload-builder-uris={0}".format(mev_url)) if participant["cl_client_type"] == "teku": - participant["beacon_extra_params"].append("--validators-builder-registration-default-enabled=true", "--builder-endpoint=".format(mev_url)) + participant["beacon_extra_params"].append("--validators-builder-registration-default-enabled=true") + participant["beacon_extra_params"].append("--builder-endpoint=".format(mev_url)) if participant["cl_client_type"] == "prysm": participant["validator_extra_params"].append("--enable-builder") participant["beacon_extra_params"].append("--http-mev-relay={0}".format(mev_url))