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
2124d843
Commit
2124d843
authored
Nov 01, 2022
by
Gyanendra Mishra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push up the current state
parent
1e1066f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
participant_network.star
src/participant_network/participant_network.star
+2
-1
el_genesis_data_generator.star
..._data_generator/el_genesis/el_genesis_data_generator.star
+3
-2
No files found.
src/participant_network/participant_network.star
View file @
2124d843
...
...
@@ -31,7 +31,7 @@ def launch_participant_network(network_params):
print("Generating CL data")
genesis_generation_config_yml_template = read_file("github.com/kurtosis-tech/eth2-module/static_files/genesis-generation-config/cl/config.yaml.tmpl")
genesis_generation_mnemonics_yml_template = read_file("github.com/kurtosis-tech/eth2-module/static_files/genesis-generation-config/cl/mnemonics.yaml.tmpl")
total
NumberOfValidatorK
eys = network_params.num_validator_keys_per_node * num_participants
total
_number_of_validator_k
eys = network_params.num_validator_keys_per_node * num_participants
cl_data = generate_cl_genesis_data(
genesis_generation_config_yml_template,
genesis_generation_mnemonics_yml_template,
...
...
@@ -41,6 +41,7 @@ def launch_participant_network(network_params):
network_params.deposit_contract_address,
network_params.seconds_per_slot,
network_params.preregistered_validator_keys_mnemonic,
total_number_of_validator_keys
)
...
...
src/participant_network/prelaunch_data_generator/el_genesis/el_genesis_data_generator.star
View file @
2124d843
...
...
@@ -82,7 +82,8 @@ def generate_el_genesis_data(
for output_filename, generation_cmd in all_genesis_generation_cmds.items():
cmd = generation_cmd(genesis_config_filepath_on_generator)
output_filepath_on_generator = path_join(OUTPUT_DIRPATH_ON_GENERATOR, output_filename)
cmd.append(">", output_filepath_on_generator)
cmd.append(">")
cmd.append(output_filepath_on_generator)
cmd_to_execute = [
"bash",
"-c",
...
...
@@ -106,7 +107,7 @@ def generate_el_genesis_data(
)
]
exec(launcher_service_id, jwt_secret_
filepath_on_generator
, SUCCESSFUL_EXEC_CMD_EXIT_CODE)
exec(launcher_service_id, jwt_secret_
generation_cmd_args
, SUCCESSFUL_EXEC_CMD_EXIT_CODE)
elGenesisDataArtifactUuid = store_file_from_service(launcher_service_id, OUTPUT_DIRPATH_ON_GENERATOR)
...
...
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