Commit a7cec5be authored by Gyanendra Mishra's avatar Gyanendra Mishra

make launch participants take num_participants as arg

parent 2eb546f4
......@@ -3,8 +3,9 @@ load("github.com/kurtosis-tech/eth2-module/src/participant_network/participant_n
def main():
network_params = new_network_params()
print("Launching participant network")
launch_participant_network(network_params)
num_participants = 2
print("Launching participant network with {0} participants and the following network params {1}".format(num_participants, json.indent(json.encode(network_params))))
launch_participant_network(num_participants, network_params)
def new_network_params():
# this is temporary till we get params working
......
......@@ -2,8 +2,7 @@ load("github.com/kurtosis-tech/eth2-module/src/participant_network/prelaunch_dat
load("github.com/kurtosis-tech/eth2-module/src/participant_network/prelaunch_data_generator/el_genesis/el_genesis_data_generator.star", "generate_el_genesis_data")
load("github.com/kurtosis-tech/eth2-module/src/participant_network/prelaunch_data_generator/cl_genesis/cl_genesis_data_generator.star", "generate_cl_genesis_data")
def launch_participant_network(network_params):
num_participants = 2
def launch_participant_network(num_participants, network_params):
print("Generating cl validator key stores")
keystore_result = generate_cl_validator_keystores(
......
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