copying genesis.json to /data/blast-data for blast
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 25s
Lint Checks / Run linter (push) Failing after 28s
Webapp Test / Run webapp test suite (pull_request) Successful in 2m53s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m55s
Smoke Test / Run basic test suite (pull_request) Successful in 3m42s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 10m48s

This commit is contained in:
jonathan@vulcanize.io 2024-03-05 20:32:56 +00:00
parent fb55c1425e
commit fee32ec703
3 changed files with 13 additions and 2 deletions

View File

@ -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"

View 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)

View File

@ -2,7 +2,7 @@ version: "1.0"
name: blast
description: "A blast stack"
repos:
- github.com/blast-io/blast
containers:
pods:
- blast