Skip to content

Commit

Permalink
fix: fix an arg parsing bug (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3rk3y committed Aug 17, 2023
1 parent d11a689 commit f084e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/package_io/parse_input.star
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BESU_NODE_NAME = "besu"
NETHERMIND_NODE_NAME = "nethermind"
NIMBUS_NODE_NAME = "nimbus"

ATTR_TO_BE_SKIPPED_AT_ROOT = ("network_params", "participants")
ATTR_TO_BE_SKIPPED_AT_ROOT = ("network_params", "participants", "mev_params")

# MEV Params
FLASHBOTS_MEV_BOOST_PORT = 18550
Expand All @@ -40,7 +40,7 @@ def parse_input(input_args):
result["network_params"][sub_attr] = sub_value
elif attr == "mev_params":
for sub_attr in input_args["mev_params"]:
sub_value = input_args["mev_params"]["sub_attr"]
sub_value = input_args["mev_params"][sub_attr]
result["mev_params"][sub_attr] = sub_value
elif attr == "participants":
participants = []
Expand Down

0 comments on commit f084e7c

Please sign in to comment.