copying genesis.json to /data/blast-data for blast
This commit is contained in:
parent
42a1657afc
commit
bf0027d10f
@ -64,7 +64,7 @@ services:
|
||||
command: >
|
||||
op-node
|
||||
--l1="$L1_RPC_URL"
|
||||
--l1.rpckind="$L1_RPC_KIND"
|
||||
--l1.rpckind="any"
|
||||
--l2="http://blast-geth:8551"
|
||||
--l2.jwt-secret=/blast/jwt.txt
|
||||
--rollup.config="/blast/${NETWORK:-mainnet}/rollup.json"
|
||||
|
11
stack_orchestrator/data/stacks/blast/deploy/commands.py
Normal file
11
stack_orchestrator/data/stacks/blast/deploy/commands.py
Normal file
@ -0,0 +1,11 @@
|
||||
from pathlib import Path
|
||||
from shutil import copy
|
||||
|
||||
|
||||
def create(context, extra_args):
|
||||
#Our goal here is just to copy the genesis.json file for blast
|
||||
deployment_config_dir = context.deployment_dir.joinpath("data", "blast-data")
|
||||
command_context = extra_args[2]
|
||||
compose_file = [f for f in command_context.cluster_context.compose_files if "blast" in f][0]
|
||||
source_config_file = Path(compose_file).parent.parent.joinpath("config", "blast", "genesis.json")
|
||||
copy(source_config_file, deployment_config_dir)
|
@ -2,7 +2,7 @@ version: "1.0"
|
||||
name: blast
|
||||
description: "A blast stack"
|
||||
repos:
|
||||
- github.com/blast-io/blast
|
||||
containers:
|
||||
pods:
|
||||
- blast
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user