Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add checks
Browse files Browse the repository at this point in the history
leovct committed Mar 21, 2024
1 parent 4d3df46 commit 4e9d992
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions main.star
Original file line number Diff line number Diff line change
@@ -44,6 +44,9 @@ def run(plan, args):
},
},
)
else:
# TODO: Make sure the rpc url is avaible - make an HTTP request.
pass

# From this point, we assume the L1 chain has been deployed.

@@ -169,6 +172,9 @@ def run(plan, args):
service_name="contracts" + args["deployment_suffix"],
recipe=ExecRecipe(command=["/opt/contract-deploy/run-contract-setup.sh"]),
)
else:
# TODO: Make sure the contracts service exists and that the file that says everything has been deployed exists.
pass

# From this point, we assume the L1 chain has been configured (accounts have been funded and cdk contracts have been deployed).

@@ -221,6 +227,9 @@ def run(plan, args):
sequencer_keystore_artifact,
aggregator_keystore_artifact,
)
else:
# TODO: Make sure the dbs, node components and prover have been deployed.
pass

## STAGE 4: Deploy CDK/Bridge infra
if args["stage"] <= DEPLOYMENT_STAGE.deploy_cdk_bridge_infra:
@@ -293,6 +302,9 @@ def run(plan, args):
cmd=["run", "--cfg", "/etc/zkevm/dac-config.toml"],
),
)
else:
# TODO: Make sure the bridge, agglayer and dac have been deployed.
pass

## STAGE 5: Deploy permissionless node
if args["stage"] <= DEPLOYMENT_STAGE.deploy_permissionless_node:
@@ -301,6 +313,9 @@ def run(plan, args):
permissionless_args["deployment_suffix"] = "-pless" + args["deployment_suffix"]
permissionless_args["genesis_artifact"] = genesis_artifact
zkevm_permissionless_node_package.run(plan, args)
else:
# TODO: Make sure the permisionless node has been deployed.
pass


def start_node_components(

0 comments on commit 4e9d992

Please sign in to comment.