working but still with optimum connection issues
Some checks failed
Lint Checks / Run linter (push) Failing after 35s
Lint Checks / Run linter (pull_request) Failing after 56s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m30s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m47s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m59s
Smoke Test / Run basic test suite (pull_request) Successful in 4m49s

This commit is contained in:
jonathan@vulcanize.io 2024-03-12 17:00:16 +00:00
parent 2e831d8e50
commit ee35b24dfc
2 changed files with 23 additions and 22 deletions

View File

@ -59,15 +59,17 @@ services:
image: blastio/blast-optimism:${NETWORK:-mainnet} image: blastio/blast-optimism:${NETWORK:-mainnet}
volumes: volumes:
- blast-data:/blast - blast-data:/blast
- ../config/blast/genesis.json:/blast/genesis.json
- ../config/blast/rollup.json:/blast/rollup.json
ports: ports:
- "9003" - "9003"
command: > command: >
op-node sh -c "pwd; ls /blast -lah; head /blast/genesis.json; exec op-node
--l1="https://eth-mainnet-1.vdb.to/" --l1='https://eth-mainnet-1.vdb.to/'
--l1.rpckind="any" --l1.rpckind='any'
--l2="http://blast-geth:8551" --l2='http://blast-geth:8551'
--l2.jwt-secret=/blast/jwt.txt --l2.jwt-secret=/blast/jwt.txt
--rollup.config="/blast/rollup.json" --rollup.config='/blast/rollup.json'"
depends_on: depends_on:
- blast-geth - blast-geth
env_file: env_file:

View File

@ -1,17 +1,17 @@
# Copyright © 2023 Vulcanize # # Copyright © 2023 Vulcanize
# This program is free software: you can redistribute it and/or modify # # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by # # it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or # # the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version. # # (at your option) any later version.
# This program is distributed in the hope that it will be useful, # # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details. # # GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License # # You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http:#www.gnu.org/licenses/>. # # along with this program. If not, see <http:#www.gnu.org/licenses/>.
from pathlib import Path from pathlib import Path
@ -19,12 +19,11 @@ from shutil import copy
def create(context, extra_args): def create(context, extra_args):
# Our goal here is just to copy the json files for blast # Our goal here is just to copy the json files for blast
deployment_config_dir = context.deployment_dir.joinpath("data", "blast-data") deployment_config_dir = context.deployment_dir.joinpath("config", "blast")
print("deploy", deployment_config_dir)
command_context = extra_args[2] command_context = extra_args[2]
compose_file = [f for f in command_context.cluster_context.compose_files if "blast" in f][0] 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") print("compose", Path(compose_file).parent.parent)
copy(source_config_file, deployment_config_dir) genesis_config_file = Path(compose_file).parent.parent.joinpath("config", "blast", "genesis.json")
source_config_file = Path(compose_file).parent.parent.joinpath("config", "blast", "rollup.json") copy(genesis_config_file, deployment_config_dir)
copy(source_config_file, deployment_config_dir)