Skip to content

Commit

Permalink
fix: args aliasing issue (#22)
Browse files Browse the repository at this point in the history
* fix: create shallow copy of args

* chore: lint
  • Loading branch information
leovct authored Mar 26, 2024
1 parent 693b779 commit 5fa402b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.star
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,10 @@ def run(plan, args):

# Start default permissionless node.
# Note that an additional suffix will be added to the services.
permissionless_args = args
permissionless_args = dict(args) # Create a shallow copy of args.
permissionless_args["deployment_suffix"] = "-pless" + args["deployment_suffix"]
permissionless_args["genesis_artifact"] = genesis_artifact
zkevm_permissionless_node_package.run(plan, args)
zkevm_permissionless_node_package.run(plan, permissionless_args)


def start_node_components(
Expand Down

0 comments on commit 5fa402b

Please sign in to comment.