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
14be1175
Unverified
Commit
14be1175
authored
May 23, 2024
by
Barnabas Busa
Committed by
GitHub
May 23, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: default config (#632)
parent
ded68bdc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
mix-assert.yaml
.github/tests/mix-assert.yaml
+1
-1
mix-with-tools.yaml
.github/tests/mix-with-tools.yaml
+1
-0
input_parser.star
src/package_io/input_parser.star
+7
-5
No files found.
.github/tests/mix-assert.yaml
View file @
14be1175
...
@@ -9,7 +9,7 @@ participants:
...
@@ -9,7 +9,7 @@ participants:
cl_type
:
lighthouse
cl_type
:
lighthouse
-
el_type
:
reth
-
el_type
:
reth
cl_type
:
lodestar
cl_type
:
lodestar
-
el_type
:
nimbu
s
-
el_type
:
geth
# temp remove nimbus-eth1 till they fix their bug
s
cl_type
:
grandine
cl_type
:
grandine
additional_services
:
additional_services
:
-
assertoor
-
assertoor
...
...
.github/tests/mix-with-tools.yaml
View file @
14be1175
...
@@ -3,6 +3,7 @@ participants:
...
@@ -3,6 +3,7 @@ participants:
cl_type
:
teku
cl_type
:
teku
-
el_type
:
nethermind
-
el_type
:
nethermind
cl_type
:
prysm
cl_type
:
prysm
cl_image
:
ethpandaops/prysm-beacon-chain:webfix
-
el_type
:
erigon
-
el_type
:
erigon
cl_type
:
nimbus
cl_type
:
nimbus
-
el_type
:
besu
-
el_type
:
besu
...
...
src/package_io/input_parser.star
View file @
14be1175
...
@@ -378,7 +378,7 @@ def input_parser(plan, input_args):
...
@@ -378,7 +378,7 @@ def input_parser(plan, input_args):
def parse_network_params(plan, input_args):
def parse_network_params(plan, input_args):
result = default_input_args()
result = default_input_args(
input_args
)
if input_args.get("network_params", {}).get("preset") == "minimal":
if input_args.get("network_params", {}).get("preset") == "minimal":
result["network_params"] = default_minimal_network_params()
result["network_params"] = default_minimal_network_params()
...
@@ -397,8 +397,6 @@ def parse_network_params(plan, input_args):
...
@@ -397,8 +397,6 @@ def parse_network_params(plan, input_args):
if "vc" in input_args["participants_matrix"]:
if "vc" in input_args["participants_matrix"]:
vc_matrix = input_args["participants_matrix"]["vc"]
vc_matrix = input_args["participants_matrix"]["vc"]
participants = []
for el in el_matrix:
for el in el_matrix:
for cl in cl_matrix:
for cl in cl_matrix:
participant = {k: v for k, v in el.items()}
participant = {k: v for k, v in el.items()}
...
@@ -708,9 +706,13 @@ def get_client_node_selectors(participant_node_selectors, global_node_selectors)
...
@@ -708,9 +706,13 @@ def get_client_node_selectors(participant_node_selectors, global_node_selectors)
return node_selectors
return node_selectors
def default_input_args():
def default_input_args(
input_args
):
network_params = default_network_params()
network_params = default_network_params()
participants = []
if "participants_matrix" not in input_args:
participants = [default_participant()]
else:
participants = []
participants_matrix = []
participants_matrix = []
return {
return {
"participants": participants,
"participants": participants,
...
...
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