Commit 2124d843 authored by Gyanendra Mishra's avatar Gyanendra Mishra

push up the current state

parent 1e1066f8
...@@ -31,7 +31,7 @@ def launch_participant_network(network_params): ...@@ -31,7 +31,7 @@ def launch_participant_network(network_params):
print("Generating CL data") 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_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") genesis_generation_mnemonics_yml_template = read_file("github.com/kurtosis-tech/eth2-module/static_files/genesis-generation-config/cl/mnemonics.yaml.tmpl")
totalNumberOfValidatorKeys = network_params.num_validator_keys_per_node * num_participants total_number_of_validator_keys = network_params.num_validator_keys_per_node * num_participants
cl_data = generate_cl_genesis_data( cl_data = generate_cl_genesis_data(
genesis_generation_config_yml_template, genesis_generation_config_yml_template,
genesis_generation_mnemonics_yml_template, genesis_generation_mnemonics_yml_template,
...@@ -41,6 +41,7 @@ def launch_participant_network(network_params): ...@@ -41,6 +41,7 @@ def launch_participant_network(network_params):
network_params.deposit_contract_address, network_params.deposit_contract_address,
network_params.seconds_per_slot, network_params.seconds_per_slot,
network_params.preregistered_validator_keys_mnemonic, network_params.preregistered_validator_keys_mnemonic,
total_number_of_validator_keys
) )
......
...@@ -82,7 +82,8 @@ def generate_el_genesis_data( ...@@ -82,7 +82,8 @@ def generate_el_genesis_data(
for output_filename, generation_cmd in all_genesis_generation_cmds.items(): for output_filename, generation_cmd in all_genesis_generation_cmds.items():
cmd = generation_cmd(genesis_config_filepath_on_generator) cmd = generation_cmd(genesis_config_filepath_on_generator)
output_filepath_on_generator = path_join(OUTPUT_DIRPATH_ON_GENERATOR, output_filename) 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 = [ cmd_to_execute = [
"bash", "bash",
"-c", "-c",
...@@ -106,7 +107,7 @@ def generate_el_genesis_data( ...@@ -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) elGenesisDataArtifactUuid = store_file_from_service(launcher_service_id, OUTPUT_DIRPATH_ON_GENERATOR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment