Commit c558cb2e authored by Bharath Vedartham's avatar Bharath Vedartham Committed by GitHub

feat: differentiate builder ec by suffixing it with '-builder' (#347)

Resolves https://github.com/kurtosis-tech/ethereum-package/issues/119

---------
Co-authored-by: default avatarBarnabas Busa <busa.barnabas@gmail.com>
parent a887cff4
EL_CLIENT_TYPE = struct( EL_CLIENT_TYPE = struct(
gethbuilder="geth-builder",
geth="geth", geth="geth",
erigon="erigon", erigon="erigon",
nethermind="nethermind", nethermind="nethermind",
......
...@@ -518,6 +518,9 @@ def enrich_mev_extra_params(parsed_arguments_dict, mev_prefix, mev_port, mev_typ ...@@ -518,6 +518,9 @@ def enrich_mev_extra_params(parsed_arguments_dict, mev_prefix, mev_port, mev_typ
if mev_type == "full": if mev_type == "full":
mev_participant = default_participant() mev_participant = default_participant()
mev_participant["el_client_type"] = (
mev_participant["el_client_type"] + "-builder"
)
mev_participant.update( mev_participant.update(
{ {
"el_client_image": parsed_arguments_dict["mev_params"][ "el_client_image": parsed_arguments_dict["mev_params"][
......
...@@ -142,6 +142,16 @@ def launch_participant_network( ...@@ -142,6 +142,16 @@ def launch_participant_network(
), ),
"launch_method": geth.launch, "launch_method": geth.launch,
}, },
constants.EL_CLIENT_TYPE.gethbuilder: {
"launcher": geth.new_geth_launcher(
network_params.network_id,
el_cl_data,
final_genesis_timestamp,
network_params.capella_fork_epoch,
network_params.electra_fork_epoch,
),
"launch_method": geth.launch,
},
constants.EL_CLIENT_TYPE.besu: { constants.EL_CLIENT_TYPE.besu: {
"launcher": besu.new_besu_launcher(network_params.network_id, el_cl_data), "launcher": besu.new_besu_launcher(network_params.network_id, el_cl_data),
"launch_method": besu.launch, "launch_method": besu.launch,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment