diff --git a/main.star b/main.star index 669cfb571..6370ec20e 100644 --- a/main.star +++ b/main.star @@ -478,7 +478,6 @@ def run(plan, args={}): dora_config_template, all_participants, args_with_right_defaults.participants, - el_cl_data_files_artifact_uuid, network_params, dora_params, global_node_selectors, diff --git a/src/dora/dora_launcher.star b/src/dora/dora_launcher.star index 34b9f1c70..1756f6a8d 100644 --- a/src/dora/dora_launcher.star +++ b/src/dora/dora_launcher.star @@ -31,7 +31,6 @@ def launch_dora( config_template, participant_contexts, participant_configs, - el_cl_data_files_artifact_uuid, network_params, dora_params, global_node_selectors, @@ -89,10 +88,8 @@ def launch_dora( config_files_artifact_name = plan.render_templates( template_and_data_by_rel_dest_filepath, "dora-config" ) - el_cl_data_files_artifact_uuid = el_cl_data_files_artifact_uuid config = get_config( config_files_artifact_name, - el_cl_data_files_artifact_uuid, network_params, dora_params, global_node_selectors, @@ -105,7 +102,6 @@ def launch_dora( def get_config( config_files_artifact_name, - el_cl_data_files_artifact_uuid, network_params, dora_params, node_selectors, @@ -126,8 +122,6 @@ def get_config( if dora_params.image != "": IMAGE_NAME = dora_params.image - elif network_params.electra_fork_epoch < 100000000: - IMAGE_NAME = "ethpandaops/dora:electra-support" else: IMAGE_NAME = "ethpandaops/dora:latest" @@ -138,7 +132,6 @@ def get_config( files={ DORA_CONFIG_MOUNT_DIRPATH_ON_SERVICE: config_files_artifact_name, VALIDATOR_RANGES_MOUNT_DIRPATH_ON_SERVICE: VALIDATOR_RANGES_ARTIFACT_NAME, - constants.GENESIS_DATA_MOUNTPOINT_ON_CLIENTS: el_cl_data_files_artifact_uuid, }, cmd=["-config", config_file_path], env_vars=dora_params.env, diff --git a/static_files/dora-config/config.yaml.tmpl b/static_files/dora-config/config.yaml.tmpl index b10ff09aa..e8e0c8e02 100644 --- a/static_files/dora-config/config.yaml.tmpl +++ b/static_files/dora-config/config.yaml.tmpl @@ -4,10 +4,6 @@ logging: # Chain network configuration chain: - name: {{ .Network }} -{{ if not .PublicNetwork }} - configPath: "/network-configs/config.yaml" -{{ end }} displayName: "{{ .Network }}" # HTTP Server configuration @@ -60,15 +56,21 @@ indexer: # max number of epochs to keep in memory inMemoryEpochs: 8 - # number of epochs to wait before storing unfinalized blocks to db - cachePersistenceDelay: 8 + # disable synchronizing historic data + disableSynchronizer: false - # disable synchronizing and everything that writes to the db (indexer just maintains local cache) - disableIndexWriter: false + # reset synchronization state to this epoch on startup - only use to resync database, comment out afterwards + #resyncFromEpoch: 0 - # number of seconds to wait between each epoch (don't overload CL client) + # force re-synchronization of epochs that are already present in DB - only use to fix missing data after schema upgrades + #resyncForceUpdate: true + + # number of seconds to pause the synchronization between each epoch (don't overload CL client) syncEpochCooldown: 1 + # maximum number of parallel beacon state requests (might cause high memory usage) + maxParallelValidatorSetRequests: 2 + mevIndexer: # list of mev relays to crawl mev blocks from relays: {{ if not .MEVRelayInfo }}[]{{ end }}