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

Commit

Permalink
feat: Make 'args' optional (#119)
Browse files Browse the repository at this point in the history
Makes the `main.star#run` args optional, to make this even easier to
call
  • Loading branch information
mieubrisse authored Sep 11, 2023
1 parent b4382ab commit bee10ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.star
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ input_parser = import_module("github.com/kurtosis-tech/eth-network-package/packa
static_files = import_module("github.com/kurtosis-tech/eth-network-package/static_files/static_files.star")
genesis_constants = import_module("github.com/kurtosis-tech/eth-network-package/src/prelaunch_data_generator/genesis_constants/genesis_constants.star")

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

num_participants = len(args_with_right_defaults.participants)
Expand Down

0 comments on commit bee10ab

Please sign in to comment.