Commit ec681d57 authored by Gyanendra Mishra's avatar Gyanendra Mishra

this is better

parent 6f0fccee
......@@ -27,13 +27,12 @@ def launch_participant_network(network_params):
network_params.deposit_contract_address
)
print("Success " + el_result)
print("Success " + el_genesis_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_mnemonics_yml_template = read_file("github.com/kurtosis-tech/eth2-module/static_files/genesis-generation-config/cl/mnemonics.yaml.tmpl")
genesis_timestamp = time.unix()
totalNumberOfValidatorKeys = network_params.num_validator_keys_per_node * num_participants
cl_data = generate_cl_genesis_data(
genesis_generation_config_yml_template,
......
......@@ -127,7 +127,7 @@ def generate_cl_genesis_data(
exec(launcher_service_id, cl_genesis_generation_cmd_args, SUCCESSFUL_EXEC_CMD_EXIT_CODE)
cl_genesis_data_artifact_uuid = store_files_from_service(launcher_service_id, OUTPUT_DIRPATH_ON_GENERATOR)
cl_genesis_data_artifact_uuid = store_file_from_service(launcher_service_id, OUTPUT_DIRPATH_ON_GENERATOR)
jwt_secret_rel_filepath = path_join(
path_base(OUTPUT_DIRPATH_ON_GENERATOR),
......
......@@ -74,7 +74,7 @@ def generate_cl_validator_keystores(
# Store outputs into files artifacts
keystore_files = []
for idx, output_dirpath in enumerate(all_output_dirpaths):
artifact_uuid = store_files_from_service(service_id, output_dirpath)
artifact_uuid = store_file_from_service(service_id, output_dirpath)
# This is necessary because the way Kurtosis currently implements artifact-storing is
base_dirname_in_artifact = path_base(output_dirpath)
......
......@@ -108,7 +108,7 @@ def generate_el_genesis_data(
exec(launcher_service_id, jwt_secret_filepath_on_generator, SUCCESSFUL_EXEC_CMD_EXIT_CODE)
elGenesisDataArtifactUuid = store_files_from_service(launcher_service_id, OUTPUT_DIRPATH_ON_GENERATOR)
elGenesisDataArtifactUuid = store_file_from_service(launcher_service_id, OUTPUT_DIRPATH_ON_GENERATOR)
result = new_el_genesis_data(
elGenesisDataArtifactUuid,
......
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