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
f226d24a
Commit
f226d24a
authored
Nov 22, 2022
by
Gyanendra Mishra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
worked on Guillaumes reviews
parent
648d9841
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
5 deletions
+35
-5
participant_network.star
src/participant_network/participant_network.star
+35
-5
No files found.
src/participant_network/participant_network.star
View file @
f226d24a
...
@@ -96,7 +96,15 @@ def launch_participant_network(participants, network_params, global_log_level):
...
@@ -96,7 +96,15 @@ def launch_participant_network(participants, network_params, global_log_level):
el_launcher, launch_method = el_launchers[el_client_type]["launcher"], el_launchers[el_client_type]["launch_method"]
el_launcher, launch_method = el_launchers[el_client_type]["launcher"], el_launchers[el_client_type]["launch_method"]
el_service_id = "{0}{1}".format(EL_CLIENT_SERVICE_ID_PREFIX, index)
el_service_id = "{0}{1}".format(EL_CLIENT_SERVICE_ID_PREFIX, index)
el_client_context = launch_method(el_launcher, el_service_id, participant.el_client_image, participant.el_client_log_level, global_log_level, all_el_client_contexts, participant.el_extra_params)
el_client_context = launch_method(
el_launcher,
el_service_id,
participant.el_client_image,
participant.el_client_log_level,
global_log_level,
all_el_client_contexts,
participant.el_extra_params
)
all_el_client_contexts.append(el_client_context)
all_el_client_contexts.append(el_client_context)
...
@@ -165,12 +173,34 @@ def launch_participant_network(participants, network_params, global_log_level):
...
@@ -165,12 +173,34 @@ def launch_participant_network(participants, network_params, global_log_level):
cl_client_context = None
cl_client_context = None
if index == 0:
if index == 0:
cl_client_context = launch_method(cl_launcher, cl_service_id, participant.cl_client_image, participant.cl_client_log_level, global_log_level, CL_CLIENT_CONTEXT_BOOTNODE,
cl_client_context = launch_method(
el_client_context, mev_boost_context, new_cl_node_validator_keystores, participant.beacon_extra_params, participant.validator_extra_params)
cl_launcher,
cl_service_id,
participant.cl_client_image,
participant.cl_client_log_level,
global_log_level,
CL_CLIENT_CONTEXT_BOOTNODE,
el_client_context,
mev_boost_context,
new_cl_node_validator_keystores,
participant.beacon_extra_params,
participant.validator_extra_params
)
else:
else:
boot_cl_client_ctx = all_cl_client_contexts[0]
boot_cl_client_ctx = all_cl_client_contexts[0]
cl_client_context = launch_method(cl_launcher, cl_service_id, participant.cl_client_image, participant.cl_client_log_level, global_log_level, boot_cl_client_ctx,
cl_client_context = launch_method(
el_client_context, mev_boost_context, new_cl_node_validator_keystores, participant.beacon_extra_params, participant.validator_extra_params)
cl_launcher,
cl_service_id,
participant.cl_client_image,
participant.cl_client_log_level,
global_log_level,
boot_cl_client_ctx,
el_client_context,
mev_boost_context,
new_cl_node_validator_keystores,
participant.beacon_extra_params,
participant.validator_extra_params
)
all_cl_client_contexts.append(cl_client_context)
all_cl_client_contexts.append(cl_client_context)
...
...
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