From 4c223353135b4ca245c61c7ca71cd95086e5594f Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Wed, 21 Aug 2024 19:29:40 +0000 Subject: [PATCH] Bump (#58) Reviewed-on: https://git.vdb.to/cerc-io/laconic-console/pulls/58 Co-authored-by: Thomas E Lackey Co-committed-by: Thomas E Lackey --- package.json | 2 +- scripts/request-app-deployment.sh | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 701f1ba..4140df6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/console-app", - "version": "0.2.3", + "version": "0.2.4", "description": "Laconic Console", "repository": "https://github.com/cerc-io/laconic-console", "main": "dist/es/index.js", diff --git a/scripts/request-app-deployment.sh b/scripts/request-app-deployment.sh index a0bd3be..741e66a 100755 --- a/scripts/request-app-deployment.sh +++ b/scripts/request-app-deployment.sh @@ -11,8 +11,8 @@ rcd_app_version=$(jq -r '.version' package.json | sed 's/null//') cat < "$CONFIG_FILE" services: registry: - rpcEndpoint: '${CERC_REGISTRY_RPC_ENDPOINT:-http://testnet-a-1.dev.vaasl.io:26657}' - gqlEndpoint: '${CERC_REGISTRY_GQL_ENDPOINT:-http://testnet-a-1.dev.vaasl.io:9473/api}' + rpcEndpoint: '${CERC_REGISTRY_RPC_ENDPOINT:-http://testnet-a-2.dev.vaasl.io:26657}' + gqlEndpoint: '${CERC_REGISTRY_GQL_ENDPOINT:-http://testnet-a-2.dev.vaasl.io:9473/api}' chainId: ${CERC_REGISTRY_CHAIN_ID:-laconic-08062024} gas: 900000 fees: 900000alnt @@ -30,6 +30,8 @@ if [ -z "$APP_RECORD" ] || [ "null" == "$APP_RECORD" ]; then exit 1 fi +MY_ACCOUNT=$(laconic -c $CONFIG_FILE registry account get --user-key "${CERC_REGISTRY_USER_KEY}" | jq -r '.[0].address') + cat < "$RECORD_FILE" record: type: ApplicationDeploymentRequest @@ -38,6 +40,7 @@ record: application: "$CERC_REGISTRY_APP_LRN@$rcd_app_version" dns: "$CERC_REGISTRY_DEPLOYMENT_HOSTNAME" deployment: "$CERC_REGISTRY_DEPLOYMENT_LRN" + to: $MY_ACCOUNT config: env: CERC_WEBAPP_DEBUG: "$rcd_app_version"