Skip to content

Commit

Permalink
fix: agglayer startup order
Browse files Browse the repository at this point in the history
  • Loading branch information
praetoriansentry committed Nov 12, 2024
1 parent 91dbce2 commit 31dc334
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions main.star
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ def run(plan, args={}):
src="/opt/zkevm/genesis.json",
)

# Deploy the agglayer.
if deployment_stages.get("deploy_agglayer", False):
plan.print("Deploying the agglayer")
import_module(agglayer_package).run(plan, args)
else:
plan.print("Skipping the deployment of the agglayer")

# Deploy cdk central/trusted environment.
if deployment_stages.get("deploy_cdk_central_environment", False):
# Deploy cdk-erigon sequencer node.
Expand Down Expand Up @@ -115,12 +122,6 @@ def run(plan, args={}):
else:
plan.print("Skipping the deployment of cdk/bridge infrastructure")

# Deploy the agglayer.
if deployment_stages.get("deploy_agglayer", False):
plan.print("Deploying the agglayer")
import_module(agglayer_package).run(plan, args)
else:
plan.print("Skipping the deployment of the agglayer")

# Deploy contracts on L2.
if deployment_stages.get("deploy_l2_contracts", False):
Expand Down

0 comments on commit 31dc334

Please sign in to comment.