Skip to content

Commit

Permalink
feat: split nimbus CL-validator (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Dec 13, 2023
1 parent 21eae3b commit cb33648
Show file tree
Hide file tree
Showing 9 changed files with 291 additions and 129 deletions.
21 changes: 21 additions & 0 deletions .github/tests/split-nimbus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
participants:
- el_client_type: geth
cl_client_type: nimbus
cl_split_mode_enabled: true
validator_count: 0
- el_client_type: nethermind
cl_client_type: nimbus
cl_split_mode_enabled: true
- el_client_type: erigon
cl_client_type: nimbus
cl_split_mode_enabled: true
- el_client_type: besu
cl_client_type: nimbus
cl_split_mode_enabled: true
- el_client_type: reth
cl_client_type: nimbus
cl_split_mode_enabled: true
- el_client_type: ethereumjs
cl_client_type: nimbus
cl_split_mode_enabled: true
additional_services: []
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ participants:
# over a specific participant's logging
cl_client_log_level: ""

# A list of optional extra params that will be passed to the CL to run separate Beacon and validator nodes
# Only possible for nimbus or teku (coming soon)
# Defaults to false
cl_split_mode_enabled: false

# A list of optional extra params that will be passed to the CL client Beacon container for modifying its behaviour
# If the client combines the Beacon & validator nodes (e.g. Teku, Nimbus), then this list will be passed to the combined Beacon-validator node
beacon_extra_params: []
Expand Down
1 change: 1 addition & 0 deletions src/cl/lighthouse/lighthouse_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def launch(
extra_validator_params,
extra_beacon_labels,
extra_validator_labels,
split_mode_enabled=False,
):
beacon_node_service_name = "{0}".format(service_name)
validator_node_service_name = "{0}-{1}".format(
Expand Down
1 change: 1 addition & 0 deletions src/cl/lodestar/lodestar_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def launch(
extra_validator_params,
extra_beacon_labels,
extra_validator_labels,
split_mode_enabled=False,
):
beacon_node_service_name = "{0}".format(service_name)
validator_node_service_name = "{0}-{1}".format(
Expand Down
Loading

0 comments on commit cb33648

Please sign in to comment.