Commit 96cb654c authored by Gyanendra Mishra's avatar Gyanendra Mishra

remove variable extraction

parent 3fa46b96
...@@ -5,11 +5,9 @@ module_io = import_types("github.com/kurtosis-tech/eth2-module/types.proto") ...@@ -5,11 +5,9 @@ module_io = import_types("github.com/kurtosis-tech/eth2-module/types.proto")
def main(input_args): def main(input_args):
input_args_with_right_defaults = module_io.ModuleInput(parse_input(input_args)) input_args_with_right_defaults = module_io.ModuleInput(parse_input(input_args))
participants = input_args_with_right_defaults.participants num_participants = len(input_args_with_right_defaults.participants)
num_participants = len(participants) print("Launching participant network with {0} participants and the following network params {1}".format(num_participants, input_args_with_right_defaults.network_params))
network_params = input_args_with_right_defaults.network_params launch_participant_network(num_participants, input_args_with_right_defaults.network_params)
print("Launching participant network with {0} participants and the following network params {1}".format(num_participants, network_params))
launch_participant_network(num_participants, network_params)
#TODO replace with actual values #TODO replace with actual values
grafana_info = module_io.GrafanaInfo({ grafana_info = module_io.GrafanaInfo({
"dashboard_path": "dummy_path", "dashboard_path": "dummy_path",
......
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