From dad4ae02f5975cea23da7afb0133f71cbf14c133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Dan?= Date: Tue, 29 Aug 2023 18:15:28 +0200 Subject: [PATCH] chore: update stack versions (#5) --- .github/workflows/test:smoke.yml | 2 +- package.json | 2 +- src/commands/start.command.ts | 10 +++++----- src/env/.env.dapp-frontend | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test:smoke.yml b/.github/workflows/test:smoke.yml index fa3ac9b..4abd2f7 100644 --- a/.github/workflows/test:smoke.yml +++ b/.github/workflows/test:smoke.yml @@ -27,7 +27,7 @@ jobs: run: node dist/main --help - name: Smoke start command - run: (node dist/main start -v | tee >(grep -q "🔥 Everything is done! 🔥" && pkill -P $$); [ $? -eq 143 ]) + run: (node dist/main start 2>&1 | tee logfile & echo $! > pidfile ; tail -f logfile | grep -q "🔥 Everything is done! 🔥" && kill $(", "license": "MIT", diff --git a/src/commands/start.command.ts b/src/commands/start.command.ts index ad35d70..68a1f77 100644 --- a/src/commands/start.command.ts +++ b/src/commands/start.command.ts @@ -6,9 +6,9 @@ import { satisfies } from 'semver' import { log, logError, logToFile } from '../loggers' import { Next, ReactiveSpawn } from '../ReactiveSpawn' -const EXECUTOR_SERVICE_REF = 'v0.1.1' -const FRONTEND_REF = 'v0.1.0-alpha3' -const INFRA_REF = 'v0.1.5' +const EXECUTOR_SERVICE_REF = 'v0.2.0' +const FRONTEND_REF = 'v0.1.4' +const INFRA_REF = 'v0.1.6' const MIN_VERSION_DOCKER = '17.6.0' const MIN_VERSION_GIT = '2.0.0' const MIN_VERSION_NODE = '16.0.0' @@ -348,10 +348,10 @@ export class StartCommand extends CommandRunner { this._spawn.reactify( `source ${globalThis.workingDir}/.env.addresses \ && echo "VITE_SUBNET_REGISTRATOR_CONTRACT_ADDRESS=$SUBNET_REGISTRATOR_CONTRACT_ADDRESS" >> ${frontendEnvFilePath} \ - && echo "VITE_TOPOS_CORE_CONTRACT_ADDRESS=$TOPOS_CORE_PROXY_CONTRACT_ADDRESS" >> ${frontendEnvFilePath} \ + && echo "VITE_TOPOS_CORE_PROXY_CONTRACT_ADDRESS=$TOPOS_CORE_PROXY_CONTRACT_ADDRESS" >> ${frontendEnvFilePath} \ && echo "VITE_ERC20_MESSAGING_CONTRACT_ADDRESS=$ERC20_MESSAGING_CONTRACT_ADDRESS" >> ${frontendEnvFilePath} \ && echo "SUBNET_REGISTRATOR_CONTRACT_ADDRESS=$SUBNET_REGISTRATOR_CONTRACT_ADDRESS" >> ${executorServiceEnvFilePath} \ - && echo "TOPOS_CORE_CONTRACT_ADDRESS=$TOPOS_CORE_PROXY_CONTRACT_ADDRESS" >> ${executorServiceEnvFilePath}` + && echo "TOPOS_CORE_PROXY_CONTRACT_ADDRESS=$TOPOS_CORE_PROXY_CONTRACT_ADDRESS" >> ${executorServiceEnvFilePath}` ), defer(() => of( diff --git a/src/env/.env.dapp-frontend b/src/env/.env.dapp-frontend index 94ba1cb..e07fcb5 100644 --- a/src/env/.env.dapp-frontend +++ b/src/env/.env.dapp-frontend @@ -5,6 +5,6 @@ VITE_TRACING_SERVICE_NAME=cross-subnet-message VITE_TRACING_SERVICE_VERSION=0.1.0 # Addresses -VITE_TOPOS_CORE_CONTRACT_ADDRESS=$TOPOS_CORE_PROXY_CONTRACT_ADDRESS +VITE_TOPOS_CORE_PROXY_CONTRACT_ADDRESS=$TOPOS_CORE_PROXY_CONTRACT_ADDRESS VITE_ERC20_MESSAGING_CONTRACT_ADDRESS=$ERC20_MESSAGING_CONTRACT_ADDRESS VITE_SUBNET_REGISTRATOR_CONTRACT_ADDRESS=$SUBNET_REGISTRATOR_CONTRACT_ADDRESS