Skip to content

Commit

Permalink
fix: genesis artifact issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Mar 26, 2024
1 parent 286f373 commit 338dc1e
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions main.star
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ def run(plan, args):
else:
plan.print("Skipping stage " + str(DEPLOYMENT_STAGE.configure_l1))

# Get the genesis file.
genesis_artifact = plan.store_service_files(
name="genesis",
service_name="contracts" + args["deployment_suffix"],
src="/opt/zkevm/genesis.json",
)

## STAGE 3: Deploy trusted / central environment
if DEPLOYMENT_STAGE.deploy_central_environment in args["stages"]:
plan.print(
Expand Down Expand Up @@ -183,11 +190,6 @@ def run(plan, args):
zkevm_prover_package.start_prover(plan, args, prover_config_artifact)

# Start the zkevm node components
genesis_artifact = plan.store_service_files(
name="genesis",
service_name="contracts" + args["deployment_suffix"],
src="/opt/zkevm/genesis.json",
)
sequencer_keystore_artifact = plan.store_service_files(
name="sequencer-keystore",
service_name="contracts" + args["deployment_suffix"],
Expand Down Expand Up @@ -224,12 +226,6 @@ def run(plan, args):
"Executing stage " + str(DEPLOYMENT_STAGE.deploy_permissionless_node)
)

genesis_artifact = plan.store_service_files(
name="genesis",
service_name="contracts" + args["deployment_suffix"],
src="/opt/zkevm/genesis.json",
)

# FIXME: This will create an alias of args and not a deep copy!
permissionless_args = args
# Note that an additional suffix will be added to the permissionless services.
Expand Down

0 comments on commit 338dc1e

Please sign in to comment.