Skip to content

Commit a433c50

Browse files
authored
fix: update dora config for latest release & remove custom images (#748)
1 parent 2e9e5a4 commit a433c50

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

main.star

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ def run(plan, args={}):
478478
dora_config_template,
479479
all_participants,
480480
args_with_right_defaults.participants,
481-
el_cl_data_files_artifact_uuid,
482481
network_params,
483482
dora_params,
484483
global_node_selectors,

src/dora/dora_launcher.star

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def launch_dora(
3131
config_template,
3232
participant_contexts,
3333
participant_configs,
34-
el_cl_data_files_artifact_uuid,
3534
network_params,
3635
dora_params,
3736
global_node_selectors,
@@ -89,10 +88,8 @@ def launch_dora(
8988
config_files_artifact_name = plan.render_templates(
9089
template_and_data_by_rel_dest_filepath, "dora-config"
9190
)
92-
el_cl_data_files_artifact_uuid = el_cl_data_files_artifact_uuid
9391
config = get_config(
9492
config_files_artifact_name,
95-
el_cl_data_files_artifact_uuid,
9693
network_params,
9794
dora_params,
9895
global_node_selectors,
@@ -105,7 +102,6 @@ def launch_dora(
105102

106103
def get_config(
107104
config_files_artifact_name,
108-
el_cl_data_files_artifact_uuid,
109105
network_params,
110106
dora_params,
111107
node_selectors,
@@ -126,8 +122,6 @@ def get_config(
126122

127123
if dora_params.image != "":
128124
IMAGE_NAME = dora_params.image
129-
elif network_params.electra_fork_epoch < 100000000:
130-
IMAGE_NAME = "ethpandaops/dora:electra-support"
131125
else:
132126
IMAGE_NAME = "ethpandaops/dora:latest"
133127

@@ -138,7 +132,6 @@ def get_config(
138132
files={
139133
DORA_CONFIG_MOUNT_DIRPATH_ON_SERVICE: config_files_artifact_name,
140134
VALIDATOR_RANGES_MOUNT_DIRPATH_ON_SERVICE: VALIDATOR_RANGES_ARTIFACT_NAME,
141-
constants.GENESIS_DATA_MOUNTPOINT_ON_CLIENTS: el_cl_data_files_artifact_uuid,
142135
},
143136
cmd=["-config", config_file_path],
144137
env_vars=dora_params.env,

static_files/dora-config/config.yaml.tmpl

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ logging:
44

55
# Chain network configuration
66
chain:
7-
name: {{ .Network }}
8-
{{ if not .PublicNetwork }}
9-
configPath: "/network-configs/config.yaml"
10-
{{ end }}
117
displayName: "{{ .Network }}"
128

139
# HTTP Server configuration
@@ -60,15 +56,21 @@ indexer:
6056
# max number of epochs to keep in memory
6157
inMemoryEpochs: 8
6258

63-
# number of epochs to wait before storing unfinalized blocks to db
64-
cachePersistenceDelay: 8
59+
# disable synchronizing historic data
60+
disableSynchronizer: false
6561

66-
# disable synchronizing and everything that writes to the db (indexer just maintains local cache)
67-
disableIndexWriter: false
62+
# reset synchronization state to this epoch on startup - only use to resync database, comment out afterwards
63+
#resyncFromEpoch: 0
6864

69-
# number of seconds to wait between each epoch (don't overload CL client)
65+
# force re-synchronization of epochs that are already present in DB - only use to fix missing data after schema upgrades
66+
#resyncForceUpdate: true
67+
68+
# number of seconds to pause the synchronization between each epoch (don't overload CL client)
7069
syncEpochCooldown: 1
7170

71+
# maximum number of parallel beacon state requests (might cause high memory usage)
72+
maxParallelValidatorSetRequests: 2
73+
7274
mevIndexer:
7375
# list of mev relays to crawl mev blocks from
7476
relays: {{ if not .MEVRelayInfo }}[]{{ end }}

0 commit comments

Comments
 (0)