Skip to content

Commit

Permalink
fix some cl names
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Oct 16, 2024
1 parent 149064b commit 44d70cf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/el/reth/reth_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -229,16 +229,17 @@ def get_config(
mev_rs_builder.MEV_BUILDER_MOUNT_DIRPATH_ON_SERVICE
] = mev_rs_builder.MEV_BUILDER_FILES_ARTIFACT_NAME
elif launcher.builder_type == "flashbots":
cl_client_name = service_name.split("-")[4]
files[
flashbots_rbuilder.MEV_BUILDER_MOUNT_DIRPATH_ON_SERVICE
] = flashbots_rbuilder.MEV_BUILDER_FILES_ARTIFACT_NAME
env_vars.update(
{
"RBUILDER_CONFIG": flashbots_rbuilder.MEV_FILE_PATH_ON_CONTAINER,
"CL_ENDPOINT": "http://cl-{0}-{1}-{2}:{3}".format(
participant_index,
participant_index + 1,
cl_client_name,
constants.EL_TYPE.reth,
constants.EL_TYPE.reth_builder,
lighthouse.BEACON_HTTP_PORT_NUM,
),
}
Expand Down
2 changes: 1 addition & 1 deletion src/mev/flashbots/mev_builder/mev_builder_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def new_builder_config_template_data(
if network_params.network in constants.PUBLIC_NETWORKS
else "/network-configs/genesis.json",
"DataDir": "/data/reth/execution-data",
"CLEndpoint": "http://cl-{0}-lighthouse-reth:{1}".format(
"CLEndpoint": "http://cl-{0}-lighthouse-reth-builder:{1}".format(
num_of_participants, lighthouse.BEACON_HTTP_PORT_NUM
),
"GenesisForkVersion": constants.GENESIS_FORK_VERSION,
Expand Down
4 changes: 2 additions & 2 deletions src/package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ DEFAULT_CL_IMAGES_MINIMAL = {
"nimbus": "ethpandaops/nimbus-eth2:stable-minimal",
"prysm": "ethpandaops/prysm-beacon-chain:develop-minimal",
"lodestar": "chainsafe/lodestar:latest",
"grandine": "ethpandaops/grandine:master-minimal",
"grandine": "ethpandaops/grandine:develop-minimal",
}

DEFAULT_VC_IMAGES = {
Expand All @@ -49,7 +49,7 @@ DEFAULT_VC_IMAGES_MINIMAL = {
"nimbus": "ethpandaops/nimbus-validator-client:stable-minimal",
"prysm": "ethpandaops/prysm-validator:develop-minimal",
"teku": "consensys/teku:latest",
"grandine": "ethpandaops/grandine:master-minimal",
"grandine": "ethpandaops/grandine:develop-minimal",
}

DEFAULT_REMOTE_SIGNER_IMAGES = {
Expand Down

0 comments on commit 44d70cf

Please sign in to comment.