Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions .github/tests/minimal-fulu.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +1,40 @@
participants:
- el_type: geth
el_image: ethpandaops/geth:fusaka-devnet-2
el_image: ethpandaops/geth:fusaka-devnet-3
el_extra_params: ["--miner.extradata=lighthouseFromLocal"]
cl_type: lighthouse
cl_image: ethpandaops/lighthouse:fusaka-devnet-2
cl_image: ethpandaops/lighthouse:fusaka-devnet-3
supernode: true

- el_type: nethermind
el_image: ethpandaops/nethermind:fusaka-devnet-2
el_image: ethpandaops/nethermind:fusaka-devnet-3
el_extra_params: ["--Blocks.ExtraData=TekuFromLocal"]
cl_type: teku
cl_image: ethpandaops/teku:fusaka-devnet-2
cl_image: ethpandaops/teku:fusaka-devnet-3

- el_type: reth
el_image: ethpandaops/reth:fusaka-devnet-2
el_image: ethpandaops/reth:fusaka-devnet-3
el_extra_params: ["--builder.extradata=LodestarFromLocal"]
cl_type: lodestar
cl_image: ethpandaops/lodestar:fusaka-devnet-2
cl_image: ethpandaops/lodestar:fusaka-devnet-3

- el_type: geth
el_image: ethpandaops/geth:fusaka-devnet-2
el_image: ethpandaops/geth:fusaka-devnet-3
el_extra_params: ["--miner.extradata=PrysmFromLocal"]
cl_type: prysm
cl_image: ethpandaops/prysm-beacon-chain:fusaka-devnet-2
vc_image: ethpandaops/prysm-validator:fusaka-devnet-2
cl_image: ethpandaops/prysm-beacon-chain:fusaka-devnet-3-minimal

- el_type: nethermind
el_image: ethpandaops/nethermind:fusaka-devnet-2
el_image: ethpandaops/nethermind:fusaka-devnet-3
el_extra_params: ["--Blocks.ExtraData=NimbusFromLocal"]
cl_type: nimbus
cl_image: ethpandaops/nimbus-eth2:fusaka-devnet-2
cl_image: ethpandaops/nimbus-eth2:fusaka-devnet-3-minimal

- el_type: reth
el_image: ethpandaops/reth:fusaka-devnet-2
el_image: ethpandaops/reth:fusaka-devnet-3
el_extra_params: ["--builder.extradata=GrandineFromLocal"]
cl_type: grandine
cl_image: ethpandaops/grandine:fusaka-devnet-2
cl_image: ethpandaops/grandine:fusaka-devnet-3-minimal
additional_services:
- dora
- tx_fuzz
Expand Down
3 changes: 0 additions & 3 deletions .github/tests/mix-public.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ participants:
cl_type: lighthouse
- el_type: reth
cl_type: lodestar
- el_type: nimbus
cl_type: teku
el_image: statusim/nimbus-eth1:master
- el_type: ethrex
cl_type: grandine
port_publisher:
Expand Down
24 changes: 24 additions & 0 deletions main.star
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ def run(plan, args={}):
plan,
all_el_contexts,
global_node_selectors,
global_tolerations,
)
fuzz_target = "http://{0}:{1}".format(
broadcaster_service.ip_address,
Expand Down Expand Up @@ -298,6 +299,7 @@ def run(plan, args={}):
jwt_file,
args_with_right_defaults.global_log_level,
global_node_selectors,
global_tolerations,
args_with_right_defaults.mev_params,
)
mev_endpoints.append(endpoint)
Expand Down Expand Up @@ -330,6 +332,7 @@ def run(plan, args={}):
args_with_right_defaults.port_publisher,
num_participants,
global_node_selectors,
global_tolerations,
)
elif args_with_right_defaults.mev_type == constants.MEV_RS_MEV_TYPE:
endpoint, relay_ip_address, relay_port = mev_rs_mev_relay.launch_mev_relay(
Expand All @@ -341,6 +344,7 @@ def run(plan, args={}):
args_with_right_defaults.port_publisher,
num_participants,
global_node_selectors,
global_tolerations,
)
else:
fail("Invalid MEV type")
Expand Down Expand Up @@ -387,6 +391,7 @@ def run(plan, args={}):
args_with_right_defaults.port_publisher,
index,
global_node_selectors,
global_tolerations,
)
elif args_with_right_defaults.mev_type == constants.MEV_RS_MEV_TYPE:
plan.print("Launching mev-rs mev boost")
Expand All @@ -411,6 +416,7 @@ def run(plan, args={}):
args_with_right_defaults.port_publisher,
index,
global_node_selectors,
global_tolerations,
)
elif (
args_with_right_defaults.mev_type == constants.COMMIT_BOOST_MEV_TYPE
Expand All @@ -437,6 +443,7 @@ def run(plan, args={}):
args_with_right_defaults.port_publisher,
index,
global_node_selectors,
global_tolerations,
final_genesis_timestamp,
)
else:
Expand Down Expand Up @@ -468,6 +475,7 @@ def run(plan, args={}):
fuzz_target,
tx_fuzz_params,
global_node_selectors,
global_tolerations,
)
plan.print("Successfully launched tx-fuzz")
elif additional_service == "forkmon":
Expand All @@ -480,6 +488,7 @@ def run(plan, args={}):
forkmon_config_template,
all_el_contexts,
global_node_selectors,
global_tolerations,
args_with_right_defaults.port_publisher,
index,
args_with_right_defaults.docker_cache_params,
Expand All @@ -492,6 +501,7 @@ def run(plan, args={}):
all_el_contexts,
persistent,
global_node_selectors,
global_tolerations,
args_with_right_defaults.port_publisher,
index,
args_with_right_defaults.docker_cache_params,
Expand All @@ -511,6 +521,7 @@ def run(plan, args={}):
network_params,
dora_params,
global_node_selectors,
global_tolerations,
mev_endpoints,
mev_endpoint_names,
args_with_right_defaults.port_publisher,
Expand All @@ -530,6 +541,7 @@ def run(plan, args={}):
args_with_right_defaults.participants,
network_params,
global_node_selectors,
global_tolerations,
args_with_right_defaults.port_publisher,
index,
args_with_right_defaults.docker_cache_params,
Expand All @@ -547,6 +559,7 @@ def run(plan, args={}):
args_with_right_defaults.participants,
network_params,
global_node_selectors,
global_tolerations,
args_with_right_defaults.port_publisher,
index,
args_with_right_defaults.docker_cache_params,
Expand All @@ -562,6 +575,7 @@ def run(plan, args={}):
network_params,
persistent,
global_node_selectors,
global_tolerations,
args_with_right_defaults.port_publisher,
index,
args_with_right_defaults.docker_cache_params,
Expand All @@ -580,6 +594,7 @@ def run(plan, args={}):
el_cl_data_files_artifact_uuid,
network_params,
global_node_selectors,
global_tolerations,
final_genesis_timestamp,
args_with_right_defaults.port_publisher,
index,
Expand All @@ -599,6 +614,7 @@ def run(plan, args={}):
el_cl_data_files_artifact_uuid,
network_params,
global_node_selectors,
global_tolerations,
final_genesis_timestamp,
args_with_right_defaults.port_publisher,
index,
Expand All @@ -616,6 +632,7 @@ def run(plan, args={}):
args_with_right_defaults.port_publisher,
index,
global_node_selectors,
global_tolerations,
args_with_right_defaults.docker_cache_params,
)
plan.print("Successfully launched apache")
Expand All @@ -630,6 +647,7 @@ def run(plan, args={}):
args_with_right_defaults.port_publisher,
index,
global_node_selectors,
global_tolerations,
args_with_right_defaults.docker_cache_params,
)
plan.print("Successfully launched nginx")
Expand All @@ -646,6 +664,7 @@ def run(plan, args={}):
all_el_contexts,
persistent,
global_node_selectors,
global_tolerations,
args_with_right_defaults.port_publisher,
index,
)
Expand Down Expand Up @@ -676,6 +695,7 @@ def run(plan, args={}):
grafana_dashboards_config_template,
prometheus_private_url,
global_node_selectors,
global_tolerations,
args_with_right_defaults.grafana_params,
args_with_right_defaults.port_publisher,
index,
Expand All @@ -701,6 +721,7 @@ def run(plan, args={}):
args_with_right_defaults.port_publisher,
index,
global_node_selectors,
global_tolerations,
args_with_right_defaults.docker_cache_params,
)
plan.print("Successfully launched assertoor")
Expand All @@ -712,6 +733,7 @@ def run(plan, args={}):
fuzz_target,
args_with_right_defaults.custom_flood_params,
global_node_selectors,
global_tolerations,
args_with_right_defaults.docker_cache_params,
)
elif additional_service == "spamoor":
Expand All @@ -731,6 +753,7 @@ def run(plan, args={}):
args_with_right_defaults.participants,
args_with_right_defaults.spamoor_params,
global_node_selectors,
global_tolerations,
args_with_right_defaults.network_params,
args_with_right_defaults.port_publisher,
index,
Expand Down Expand Up @@ -762,6 +785,7 @@ def run(plan, args={}):
grafana_dashboards_config_template,
prometheus_private_url,
global_node_selectors,
global_tolerations,
args_with_right_defaults.grafana_params,
args_with_right_defaults.port_publisher,
prometheus_grafana_index,
Expand Down
7 changes: 7 additions & 0 deletions src/apache/apache_launcher.star
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
shared_utils = import_module("../shared_utils/shared_utils.star")
static_files = import_module("../static_files/static_files.star")
constants = import_module("../package_io/constants.star")
input_parser = import_module("../package_io/input_parser.star")
SERVICE_NAME = "apache"
HTTP_PORT_ID = "http"
HTTP_PORT_NUMBER = 80
Expand Down Expand Up @@ -36,12 +37,15 @@ def launch_apache(
port_publisher,
index,
global_node_selectors,
global_tolerations,
docker_cache_params,
):
config_files_artifact_name = plan.upload_files(
src=static_files.APACHE_CONFIG_FILEPATH, name="apache-config"
)

tolerations = input_parser.get_client_tolerations([], [], global_tolerations)

public_ports = shared_utils.get_additional_service_standard_public_port(
port_publisher,
constants.HTTP_PORT_ID,
Expand Down Expand Up @@ -104,6 +108,7 @@ def launch_apache(
public_ports,
bootstrap_info_files_artifact_name,
global_node_selectors,
tolerations,
docker_cache_params,
)

Expand All @@ -116,6 +121,7 @@ def get_config(
public_ports,
bootstrap_info_files_artifact_name,
node_selectors,
tolerations,
docker_cache_params,
):
files = {
Expand Down Expand Up @@ -172,6 +178,7 @@ def get_config(
min_memory=MIN_MEMORY,
max_memory=MAX_MEMORY,
node_selectors=node_selectors,
tolerations=tolerations,
)


Expand Down
7 changes: 7 additions & 0 deletions src/assertoor/assertoor_launcher.star
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
shared_utils = import_module("../shared_utils/shared_utils.star")
static_files = import_module("../static_files/static_files.star")
constants = import_module("../package_io/constants.star")
input_parser = import_module("../package_io/input_parser.star")
SERVICE_NAME = "assertoor"

HTTP_PORT_ID = "http"
Expand Down Expand Up @@ -39,6 +40,7 @@ def launch_assertoor(
port_publisher,
index,
global_node_selectors,
global_tolerations,
docker_cache_params,
):
all_client_info = []
Expand All @@ -53,6 +55,8 @@ def launch_assertoor(
0,
)

tolerations = input_parser.get_client_tolerations([], [], global_tolerations)

for index, participant in enumerate(participant_contexts):
(
full_name,
Expand Down Expand Up @@ -113,6 +117,7 @@ def launch_assertoor(
assertoor_params,
public_ports,
global_node_selectors,
tolerations,
docker_cache_params,
)

Expand All @@ -126,6 +131,7 @@ def get_config(
assertoor_params,
public_ports,
node_selectors,
tolerations,
docker_cache_params,
):
config_file_path = shared_utils.path_join(
Expand Down Expand Up @@ -166,6 +172,7 @@ def get_config(
min_memory=MIN_MEMORY,
max_memory=MAX_MEMORY,
node_selectors=node_selectors,
tolerations=tolerations,
)


Expand Down
6 changes: 6 additions & 0 deletions src/blobber/blobber_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ def launch(
beacon_http_url,
participant,
node_selectors,
global_tolerations,
):
tolerations = input_parser.get_client_tolerations([], [], global_tolerations)

blobber_service_name = "{0}".format(service_name)

blobber_config = get_config(
Expand All @@ -50,6 +53,7 @@ def launch(
beacon_http_url,
participant,
node_selectors,
tolerations,
)

blobber_service = plan.add_service(blobber_service_name, blobber_config)
Expand All @@ -65,6 +69,7 @@ def get_config(
beacon_http_url,
participant,
node_selectors,
tolerations,
):
validator_root_dirpath = shared_utils.path_join(
VALIDATOR_KEYS_MOUNTPOINT_ON_CLIENTS,
Expand Down Expand Up @@ -95,4 +100,5 @@ def get_config(
min_memory=MIN_MEMORY,
max_memory=MAX_MEMORY,
node_selectors=node_selectors,
tolerations=tolerations,
)
Loading