Skip to content

Commit

Permalink
Merge branch 'main' into update-verkle-transition
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa authored Nov 24, 2023
2 parents 3eeaf4d + c558cb2 commit 5ecbb98
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/package_io/constants.star
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
EL_CLIENT_TYPE = struct(
gethbuilder="geth-builder",
geth="geth",
erigon="erigon",
nethermind="nethermind",
Expand Down
3 changes: 3 additions & 0 deletions src/package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,9 @@ def enrich_mev_extra_params(parsed_arguments_dict, mev_prefix, mev_port, mev_typ

if mev_type == "full":
mev_participant = default_participant()
mev_participant["el_client_type"] = (
mev_participant["el_client_type"] + "-builder"
)
mev_participant.update(
{
"el_client_image": parsed_arguments_dict["mev_params"][
Expand Down
10 changes: 10 additions & 0 deletions src/participant_network.star
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,16 @@ def launch_participant_network(
),
"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: {
"launcher": besu.new_besu_launcher(network_params.network_id, el_cl_data),
"launch_method": besu.launch,
Expand Down

0 comments on commit 5ecbb98

Please sign in to comment.