diff --git a/.github/tests/static-ports.yml b/.github/tests/static-ports.yml index 71152e4d..642b70e6 100644 --- a/.github/tests/static-ports.yml +++ b/.github/tests/static-ports.yml @@ -1,5 +1,11 @@ args: static_ports: + l1_el_start_port: 59010 + l1_cl_start_port: 59020 + l1_vc_start_port: 59030 + l1_remote_signer_start_port: 59040 + l1_additional_services_start_port: 59050 + agglayer_start_port: 50000 cdk_node_start_port: 51000 zkevm_bridge_service_start_port: 52000 @@ -8,9 +14,10 @@ args: database_start_port: 55000 zkevm_pool_manager_start_port: 56000 zkevm_dac_start_port: 57000 - + # additional services arpeggio_start_port: 58010 blutgang_start_port: 58020 erpc_start_port: 58030 panoptichain_start_port: 58040 + diff --git a/ethereum.star b/ethereum.star index eb66d873..f247d934 100644 --- a/ethereum.star +++ b/ethereum.star @@ -4,6 +4,17 @@ ethereum_package = import_module( def run(plan, args): + static_port_config = args.get("static_ports") + l1_el_start_port = static_port_config.get("l1_el_start_port", None) + l1_cl_start_port = static_port_config.get("l1_cl_start_port", None) + l1_vc_start_port = static_port_config.get("l1_vc_start_port", None) + l1_remote_signer_start_port = static_port_config.get( + "l1_remote_signer_start_port", None + ) + l1_additional_services_start_port = static_port_config.get( + "l1_additional_services_start_port", None + ) + ethereum_package.run( plan, { @@ -23,5 +34,28 @@ def run(plan, args): "seconds_per_slot": args["l1_seconds_per_slot"], }, "additional_services": args["l1_additional_services"], + # static ports + "port_publisher": { + "el": { + "enabled": True, + "public_port_start": l1_el_start_port, + }, + "cl": { + "enabled": True, + "public_port_start": l1_cl_start_port, + }, + "vc": { + "enabled": True, + "public_port_start": l1_vc_start_port, + }, + "remote_signer": { + "enabled": True, + "public_port_start": l1_remote_signer_start_port, + }, + "additional_services": { + "enabled": True, + "public_port_start": l1_additional_services_start_port, + }, + }, }, )