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
baa04e91
Unverified
Commit
baa04e91
authored
Mar 28, 2024
by
Barnabas Busa
Committed by
GitHub
Mar 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: separate vc (#526)
Co-authored-by:
Gyanendra Mishra
<
anomaly.the@gmail.com
>
parent
f6e1b136
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
22 deletions
+10
-22
README.md
README.md
+1
-0
input_parser.star
src/package_io/input_parser.star
+8
-10
participant_network.star
src/participant_network.star
+1
-12
No files found.
README.md
View file @
baa04e91
...
@@ -268,6 +268,7 @@ participants:
...
@@ -268,6 +268,7 @@ participants:
# - nimbus: statusim/nimbus-eth2:multiarch-latest
# - nimbus: statusim/nimbus-eth2:multiarch-latest
# - prysm: gcr.io/prysmaticlabs/prysm/beacon-chain:latest
# - prysm: gcr.io/prysmaticlabs/prysm/beacon-chain:latest
# - lodestar: chainsafe/lodestar:next
# - lodestar: chainsafe/lodestar:next
# - grandine: ethpandaops/grandine:develop
cl_image
:
"
"
cl_image
:
"
"
# The log level string that this participant's CL client should log at
# The log level string that this participant's CL client should log at
...
...
src/package_io/input_parser.star
View file @
baa04e91
...
@@ -384,10 +384,14 @@ def parse_network_params(input_args):
...
@@ -384,10 +384,14 @@ def parse_network_params(input_args):
if participant["use_separate_vc"] == None:
if participant["use_separate_vc"] == None:
# Default to false for CL clients that can run validator clients
# Default to false for CL clients that can run validator clients
# in the same process.
# in the same process.
if cl_type in (
if (
cl_type
in (
constants.CL_TYPE.nimbus,
constants.CL_TYPE.nimbus,
constants.CL_TYPE.teku,
constants.CL_TYPE.teku,
constants.CL_TYPE.grandine,
constants.CL_TYPE.grandine,
)
and vc_type == ""
):
):
participant["use_separate_vc"] = False
participant["use_separate_vc"] = False
else:
else:
...
@@ -398,12 +402,6 @@ def parse_network_params(input_args):
...
@@ -398,12 +402,6 @@ def parse_network_params(input_args):
vc_type = cl_type
vc_type = cl_type
participant["vc_type"] = vc_type
participant["vc_type"] = vc_type
if (
cl_type == constants.CL_TYPE.grandine
and vc_type != constants.CL_TYPE.grandine
):
fail("grandine does not support running a different validator client")
vc_image = participant["vc_image"]
vc_image = participant["vc_image"]
if vc_image == "":
if vc_image == "":
if cl_image == "":
if cl_image == "":
...
...
src/participant_network.star
View file @
baa04e91
...
@@ -282,19 +282,8 @@ def launch_participant_network(
...
@@ -282,19 +282,8 @@ def launch_participant_network(
vc_context = None
vc_context = None
snooper_beacon_context = None
snooper_beacon_context = None
if participant.snooper_enabled:
if (
participant.cl_type == constants.CL_TYPE.teku
or participant.cl_type == constants.CL_TYPE.nimbus
or participant.cl_type == constants.CL_TYPE.grandine
) and participant.use_separate_vc != False:
plan.print(
"Beacon snooper not supported for non split operation for {0}".format(
participant.cl_type
)
)
continue
if participant.snooper_enabled:
snooper_service_name = "snooper-beacon-{0}-{1}-{2}".format(
snooper_service_name = "snooper-beacon-{0}-{1}-{2}".format(
index_str, cl_type, vc_type
index_str, cl_type, vc_type
)
)
...
...
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