Commit 51f76bd1 authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

feat: enable teku split beacon <> validator setup (#409)

parent f49185b2
participants:
- el_client_type: geth
cl_client_type: teku
cl_split_mode_enabled: true
validator_count: 0
- el_client_type: nethermind
cl_client_type: teku
cl_split_mode_enabled: true
- el_client_type: erigon
cl_client_type: teku
cl_split_mode_enabled: true
- el_client_type: besu
cl_client_type: teku
cl_split_mode_enabled: true
- el_client_type: reth
cl_client_type: teku
cl_split_mode_enabled: true
- el_client_type: ethereumjs
cl_client_type: teku
cl_split_mode_enabled: true
additional_services: []
......@@ -47,10 +47,6 @@ VALIDATOR_MAX_MEMORY = 512
DEFAULT_VALIDATOR_IMAGE_ENTRYPOINT = ["nimbus_validator_client"]
VALIDATOR_METRICS_PATH = "/metrics"
VALIDATOR_KEYS_DIRPATH_ON_SERVICE_CONTAINER = "$HOME/validator-keys"
VALIDATOR_SECRETS_DIRPATH_ON_SERVICE_CONTAINER = "$HOME/validator-secrets"
# ---------------------------------- Genesis Files ----------------------------------
# Nimbus requires that its data directory already exists (because it expects you to bind-mount it), so we
......@@ -360,7 +356,7 @@ def get_beacon_config(
files = {
constants.GENESIS_DATA_MOUNTPOINT_ON_CLIENTS: el_cl_genesis_data.files_artifact_uuid,
}
if node_keystore_files:
if node_keystore_files != None and not split_mode_enabled:
files[
VALIDATOR_KEYS_MOUNTPOINT_ON_CLIENTS
] = node_keystore_files.files_artifact_uuid
......
This diff is collapsed.
......@@ -102,8 +102,15 @@ def generate_validator_keystores(plan, mnemonic, participants):
start_index,
stop_index,
)
teku_permissions_cmd = (
"chmod 0777 -R " + output_dirpath + "/" + TEKU_KEYS_DIRNAME
)
raw_secret_permissions_cmd = (
"chmod 0600 -R " + output_dirpath + "/" + RAW_SECRETS_DIRNAME
)
all_sub_command_strs.append(generate_keystores_cmd)
all_sub_command_strs.append(teku_permissions_cmd)
all_sub_command_strs.append(raw_secret_permissions_cmd)
all_output_dirpaths.append(output_dirpath)
command_str = " && ".join(all_sub_command_strs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment