Skip to content

Commit

Permalink
add default op if nothing defined
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Jul 5, 2024
1 parent 015908a commit 95608ed
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 @@ -16,8 +16,8 @@ def run(plan, args):
A full deployment of Optimism L2(s)
"""
plan.print("Parsing the L1 input args")
ethereum_args = args["ethereum_package"]
optimism_args = args["optimism_package"]
ethereum_args = args.get("ethereum_package", {})
optimism_args = args.get("optimism_package", {})
# Deploy the L1
plan.print("Deploying a local L1")
l1 = ethereum_package.run(plan, ethereum_args)
Expand Down

0 comments on commit 95608ed

Please sign in to comment.