Compare commits

..

1 Commits

Author SHA1 Message Date
jonathan@vulcanize.io
02c33cb229 working state
All checks were successful
Lint Checks / Run linter (push) Successful in 35s
Lint Checks / Run linter (pull_request) Successful in 33s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m32s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m31s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m59s
Smoke Test / Run basic test suite (pull_request) Successful in 4m42s
2024-03-13 02:49:21 +00:00
2 changed files with 20 additions and 21 deletions

View File

@ -64,12 +64,12 @@ services:
ports:
- "9003"
command: >
sh -c "pwd; ls /blast -lah; head /blast/genesis.json; exec op-node
--l1='https://eth-mainnet-1.vdb.to/'
--l1.rpckind='any'
--l2='http://blast-geth:8551'
op-node
--l1="https://eth-mainnet-1.vdb.to/"
--l1.rpckind="any"
--l2="http://blast-geth:8551"
--l2.jwt-secret=/blast/jwt.txt
--rollup.config='/blast/rollup.json'"
--rollup.config="/blast/rollup.json"
depends_on:
- blast-geth
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
# # 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
# # (at your option) any later version.
# 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
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# # This program is distributed in the hope that it will be useful,
# # but WITHOUT ANY WARRANTY; without even the implied warranty of
# # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# # GNU Affero General Public License for more details.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# # 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/>.
# 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/>.
from pathlib import Path
@ -19,11 +19,10 @@ from shutil import copy
def create(context, extra_args):
# Our goal here is just to copy the json files for blast
deployment_config_dir = context.deployment_dir.joinpath("config", "blast")
print("deploy", deployment_config_dir)
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]
print("compose", Path(compose_file).parent.parent)
genesis_config_file = Path(compose_file).parent.parent.joinpath("config", "blast", "genesis.json")
copy(genesis_config_file, deployment_config_dir)
source_config_file = Path(compose_file).parent.parent.joinpath("config", "blast", "genesis.json")
copy(source_config_file, deployment_config_dir)