Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ethereum-package
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
ethereum-package
Commits
a433c50e
Unverified
Commit
a433c50e
authored
Aug 20, 2024
by
pk910
Committed by
GitHub
Aug 20, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update dora config for latest release & remove custom images (#748)
parent
2e9e5a41
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
17 deletions
+11
-17
main.star
main.star
+0
-1
dora_launcher.star
src/dora/dora_launcher.star
+0
-7
config.yaml.tmpl
static_files/dora-config/config.yaml.tmpl
+11
-9
No files found.
main.star
View file @
a433c50e
...
@@ -478,7 +478,6 @@ def run(plan, args={}):
...
@@ -478,7 +478,6 @@ def run(plan, args={}):
dora_config_template,
dora_config_template,
all_participants,
all_participants,
args_with_right_defaults.participants,
args_with_right_defaults.participants,
el_cl_data_files_artifact_uuid,
network_params,
network_params,
dora_params,
dora_params,
global_node_selectors,
global_node_selectors,
...
...
src/dora/dora_launcher.star
View file @
a433c50e
...
@@ -31,7 +31,6 @@ def launch_dora(
...
@@ -31,7 +31,6 @@ def launch_dora(
config_template,
config_template,
participant_contexts,
participant_contexts,
participant_configs,
participant_configs,
el_cl_data_files_artifact_uuid,
network_params,
network_params,
dora_params,
dora_params,
global_node_selectors,
global_node_selectors,
...
@@ -89,10 +88,8 @@ def launch_dora(
...
@@ -89,10 +88,8 @@ def launch_dora(
config_files_artifact_name = plan.render_templates(
config_files_artifact_name = plan.render_templates(
template_and_data_by_rel_dest_filepath, "dora-config"
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 = get_config(
config_files_artifact_name,
config_files_artifact_name,
el_cl_data_files_artifact_uuid,
network_params,
network_params,
dora_params,
dora_params,
global_node_selectors,
global_node_selectors,
...
@@ -105,7 +102,6 @@ def launch_dora(
...
@@ -105,7 +102,6 @@ def launch_dora(
def get_config(
def get_config(
config_files_artifact_name,
config_files_artifact_name,
el_cl_data_files_artifact_uuid,
network_params,
network_params,
dora_params,
dora_params,
node_selectors,
node_selectors,
...
@@ -126,8 +122,6 @@ def get_config(
...
@@ -126,8 +122,6 @@ def get_config(
if dora_params.image != "":
if dora_params.image != "":
IMAGE_NAME = dora_params.image
IMAGE_NAME = dora_params.image
elif network_params.electra_fork_epoch < 100000000:
IMAGE_NAME = "ethpandaops/dora:electra-support"
else:
else:
IMAGE_NAME = "ethpandaops/dora:latest"
IMAGE_NAME = "ethpandaops/dora:latest"
...
@@ -138,7 +132,6 @@ def get_config(
...
@@ -138,7 +132,6 @@ def get_config(
files={
files={
DORA_CONFIG_MOUNT_DIRPATH_ON_SERVICE: config_files_artifact_name,
DORA_CONFIG_MOUNT_DIRPATH_ON_SERVICE: config_files_artifact_name,
VALIDATOR_RANGES_MOUNT_DIRPATH_ON_SERVICE: VALIDATOR_RANGES_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],
cmd=["-config", config_file_path],
env_vars=dora_params.env,
env_vars=dora_params.env,
...
...
static_files/dora-config/config.yaml.tmpl
View file @
a433c50e
...
@@ -4,10 +4,6 @@ logging:
...
@@ -4,10 +4,6 @@ logging:
# Chain network configuration
# Chain network configuration
chain:
chain:
name: {{ .Network }}
{{ if not .PublicNetwork }}
configPath: "/network-configs/config.yaml"
{{ end }}
displayName: "{{ .Network }}"
displayName: "{{ .Network }}"
# HTTP Server configuration
# HTTP Server configuration
...
@@ -60,15 +56,21 @@ indexer:
...
@@ -60,15 +56,21 @@ indexer:
# max number of epochs to keep in memory
# max number of epochs to keep in memory
inMemoryEpochs: 8
inMemoryEpochs: 8
#
number of epochs to wait before storing unfinalized blocks to db
#
disable synchronizing historic data
cachePersistenceDelay: 8
disableSynchronizer: false
#
disable synchronizing and everything that writes to the db (indexer just maintains local cache)
#
reset synchronization state to this epoch on startup - only use to resync database, comment out afterwards
disableIndexWriter: false
#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
syncEpochCooldown: 1
# maximum number of parallel beacon state requests (might cause high memory usage)
maxParallelValidatorSetRequests: 2
mevIndexer:
mevIndexer:
# list of mev relays to crawl mev blocks from
# list of mev relays to crawl mev blocks from
relays: {{ if not .MEVRelayInfo }}[]{{ end }}
relays: {{ if not .MEVRelayInfo }}[]{{ end }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment