Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
name changed
Browse files Browse the repository at this point in the history
  • Loading branch information
leoporoli committed Sep 12, 2023
1 parent b05d629 commit 84e2216
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions main.star
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ static_files = import_module("github.com/kurtosis-tech/eth-network-package/stati
genesis_constants = import_module("github.com/kurtosis-tech/eth-network-package/src/prelaunch_data_generator/genesis_constants/genesis_constants.star")

def run(plan, args = {}):
input_result = input_parser.parse_input(args)
args_with_right_defaults = input_parser.get_args_from_parsed_input_results(input_result)
args_with_right_defaults = input_parser.get_args_with_default_values(args)

num_participants = len(args_with_right_defaults.participants)
network_params = args_with_right_defaults.network_params
Expand Down
3 changes: 2 additions & 1 deletion package_io/input_parser.star
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ HIGH_DENEB_VALUE_FORK_VERKLE = 20000

ATTR_TO_BE_SKIPPED_AT_ROOT = ("network_params", "participants")

def get_args_from_parsed_input_results(result):
def get_args_with_default_values(args):
result = parse_input(args)
return struct(
participants=[struct(
el_client_type=participant["el_client_type"],
Expand Down

0 comments on commit 84e2216

Please sign in to comment.