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
1f40d840
Unverified
Commit
1f40d840
authored
Jan 10, 2024
by
Barnabas Busa
Committed by
GitHub
Jan 10, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: erigon chain should be set to dev (#447)
parent
d5bf4515
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
erigon_launcher.star
src/el/erigon/erigon_launcher.star
+3
-6
No files found.
src/el/erigon/erigon_launcher.star
View file @
1f40d840
...
@@ -174,6 +174,9 @@ def get_config(
...
@@ -174,6 +174,9 @@ def get_config(
cmd = [
cmd = [
"erigon",
"erigon",
"--chain={0}".format(
network if network in constants.PUBLIC_NETWORKS else "dev"
),
"--log.console.verbosity=" + verbosity_level,
"--log.console.verbosity=" + verbosity_level,
"--datadir=" + EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER,
"--datadir=" + EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER,
"--port={0}".format(DISCOVERY_PORT_NUM),
"--port={0}".format(DISCOVERY_PORT_NUM),
...
@@ -242,17 +245,11 @@ def get_config(
...
@@ -242,17 +245,11 @@ def get_config(
)
)
if len(extra_params) > 0:
if len(extra_params) > 0:
# this is a repeated<proto type>, we convert it into Starlark
cmd.extend([param for param in extra_params])
cmd.extend([param for param in extra_params])
if network not in constants.PUBLIC_NETWORKS:
if network not in constants.PUBLIC_NETWORKS:
command_arg = [init_datadir_cmd_str, " ".join(cmd)]
command_arg = [init_datadir_cmd_str, " ".join(cmd)]
command_arg_str = " && ".join(command_arg)
command_arg_str = " && ".join(command_arg)
else:
cmd.append("--chain={0}".format(network))
command_arg = cmd
command_arg_str = " ".join(command_arg)
return ServiceConfig(
return ServiceConfig(
image=image,
image=image,
...
...
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