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
a5ffe14e
Unverified
Commit
a5ffe14e
authored
May 31, 2024
by
Tyler
Committed by
GitHub
May 31, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: seperate vc service names (#654)
Address #653 Adds 0-padding and indexes at 1 for vc_count.
parent
4272ff3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
participant_network.star
src/participant_network.star
+6
-3
No files found.
src/participant_network.star
View file @
a5ffe14e
...
...
@@ -211,6 +211,9 @@ def launch_participant_network(
vc_type = participant.vc_type
index_str = shared_utils.zfill_custom(index + 1, len(str(len(participants))))
for sub_index in range(participant.vc_count):
vc_index_str = shared_utils.zfill_custom(
sub_index + 1, len(str(participant.vc_count))
)
el_context = all_el_contexts[index]
cl_context = all_cl_contexts[index]
...
...
@@ -311,7 +314,7 @@ def launch_participant_network(
index_str,
cl_type,
vc_type,
"-" +
str(sub_index)
if participant.vc_count != 1 else "",
"-" +
vc_index_str
if participant.vc_count != 1 else "",
)
snooper_beacon_context = beacon_snooper.launch(
plan,
...
...
@@ -331,14 +334,14 @@ def launch_participant_network(
el_type,
cl_type,
vc_type,
"-" +
str(sub_index)
if participant.vc_count != 1 else "",
"-" +
vc_index_str
if participant.vc_count != 1 else "",
)
if participant.cl_type != participant.vc_type
else "{0}-{1}-{2}{3}".format(
index_str,
el_type,
cl_type,
"-" +
str(sub_index)
if participant.vc_count != 1 else "",
"-" +
vc_index_str
if participant.vc_count != 1 else "",
)
)
...
...
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