Fix mobymask contract deployment script #362

Merged
prathamesh0 merged 1 commits from pm-fixes into main 2023-04-21 11:57:53 +00:00
4 changed files with 6 additions and 8 deletions

View File

@ -48,7 +48,7 @@ CERC_L2_GETH_PORT="${CERC_L2_GETH_PORT:-${DEFAULT_CERC_L2_GETH_PORT}}"
CERC_L2_NODE_HOST="${CERC_L2_NODE_HOST:-${DEFAULT_CERC_L2_NODE_HOST}}" CERC_L2_NODE_HOST="${CERC_L2_NODE_HOST:-${DEFAULT_CERC_L2_NODE_HOST}}"
CERC_L2_NODE_PORT="${CERC_L2_NODE_PORT:-${DEFAULT_CERC_L2_NODE_PORT}}" CERC_L2_NODE_PORT="${CERC_L2_NODE_PORT:-${DEFAULT_CERC_L2_NODE_PORT}}"
./wait-for-it.sh -h "${CERC_L2_GETH_HOST}" -p "${CERC_L2_GETH_PORT}" -s -t 0 ./wait-for-it.sh -h "${CERC_L2_GETH_HOST}" -p "${CERC_L2_GETH_PORT}" -s -t 0
./wait-for-it.sh -h "${CERC_L2_GETH_PORT}" -p "${CERC_L2_NODE_PORT}" -s -t 0 ./wait-for-it.sh -h "${CERC_L2_NODE_HOST}" -p "${CERC_L2_NODE_PORT}" -s -t 0
export RPC_URL="${CERC_L2_GETH_RPC}" export RPC_URL="${CERC_L2_GETH_RPC}"

View File

@ -14,7 +14,7 @@ WORKDIR /app
COPY . . COPY . .
RUN echo "Building watcher-ts" && \ RUN echo "Building mobymask-v2-watcher-ts" && \
yarn && yarn build yarn && yarn build
WORKDIR /app WORKDIR /app

View File

@ -99,9 +99,8 @@ laconic-so --stack mobymask-v2 deploy --cluster mobymask_v2 --include watcher-mo
# Expected output (ignore the "The X variable is not set. Defaulting to a blank string." warnings): # Expected output (ignore the "The X variable is not set. Defaulting to a blank string." warnings):
# [+] Running 10/10 # [+] Running 9/9
# ✔ Network mobymask_v2_default Created 0.1s # ✔ Network mobymask_v2_default Created 0.1s
# ✔ Volume "mobymask_v2_fixturenet_geth_accounts" Created 0.0s
# ✔ Volume "mobymask_v2_peers_ids" Created 0.0s # ✔ Volume "mobymask_v2_peers_ids" Created 0.0s
# ✔ Volume "mobymask_v2_mobymask_watcher_db_data" Created 0.0s # ✔ Volume "mobymask_v2_mobymask_watcher_db_data" Created 0.0s
# ✔ Volume "mobymask_v2_mobymask_deployment" Created 0.0s # ✔ Volume "mobymask_v2_mobymask_deployment" Created 0.0s
@ -291,7 +290,6 @@ Clear volumes created by this stack:
# Expected output: # Expected output:
# mobymask_v2_fixturenet_geth_accounts
# mobymask_v2_mobymask_deployment # mobymask_v2_mobymask_deployment
# mobymask_v2_mobymask_watcher_db_data # mobymask_v2_mobymask_watcher_db_data
# mobymask_v2_peers_ids # mobymask_v2_peers_ids