Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

chore: update stack versions #5

Merged
merged 4 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test:smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 $(<pidfile))

- name: Smoke clean command
run: node dist/main clean -v
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@topos-protocol/topos-playground",
"version": "0.0.2",
"version": "0.1.0",
"description": "topos-playground is a CLI tool which handles all of the orchestration necessary to run local Topos devnets with subnets, a TCE network, and apps.",
"author": "Sébastien Dan <[email protected]>",
"license": "MIT",
Expand Down
10 changes: 5 additions & 5 deletions src/commands/start.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion src/env/.env.dapp-frontend
Original file line number Diff line number Diff line change
Expand Up @@ -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