From b25eb72c29e0ae47138fdc4b6b0c417135fa1ae6 Mon Sep 17 00:00:00 2001 From: iskay Date: Fri, 30 Aug 2024 15:30:35 -0400 Subject: [PATCH 1/2] update for test deploy --- package.json | 6 +++--- scripts/publish-app-record.sh | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 4f0147b..b48404b 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "private": true, - "name": "@iam-app-publisher-8/pwa-test-12", - "version": "0.1.26", - "repository": "https://github.com/LaconicNetwork/loro-testnet-example-pwa", + "name": "@vknowable/pwa-test-app", + "version": "0.1.27", + "repository": "https://github.com/vknowable/loro-testnet-example-pwa", "scripts": { "dev": "next dev", "build": "next build", diff --git a/scripts/publish-app-record.sh b/scripts/publish-app-record.sh index 95a5f0f..6330c38 100755 --- a/scripts/publish-app-record.sh +++ b/scripts/publish-app-record.sh @@ -21,11 +21,11 @@ rcd_app_version=$(jq -r '.version' package.json | sed 's/null//') cat < "$CONFIG_FILE" services: registry: - rpcEndpoint: '${CERC_REGISTRY_REST_ENDPOINT:-https://laconicd.laconic.com}' - gqlEndpoint: '${CERC_REGISTRY_GQL_ENDPOINT:-https://laconicd.laconic.com/api}' + rpcEndpoint: '${CERC_REGISTRY_REST_ENDPOINT:-https://laconicd.knowquarter.xyz}' + gqlEndpoint: '${CERC_REGISTRY_GQL_ENDPOINT:-https://laconicd.knowquarter.xyz/api}' chainId: ${CERC_REGISTRY_CHAIN_ID:-laconic_9000-1} gas: 9550000 - fees: 15000000alnt + fees: 150000000alnt EOF if [ -z "$CERC_REGISTRY_BOND_ID" ]; then @@ -65,8 +65,8 @@ if [ -z "$CERC_REGISTRY_APP_CRN" ]; then authority=$(echo "$rcd_name" | cut -d'/' -f1 | sed 's/@//') app=$(echo "$rcd_name" | cut -d'/' -f2-) CERC_REGISTRY_APP_CRN="lrn://$authority/applications/$app" - laconic -c $CONFIG_FILE registry authority reserve ${authority} --user-key "${CERC_REGISTRY_USER_KEY}" - laconic -c $CONFIG_FILE registry authority bond set ${authority} ${CERC_REGISTRY_BOND_ID} --user-key "${CERC_REGISTRY_USER_KEY}" + # laconic -c $CONFIG_FILE registry authority reserve ${authority} --user-key "${CERC_REGISTRY_USER_KEY}" + # laconic -c $CONFIG_FILE registry authority bond set ${authority} ${CERC_REGISTRY_BOND_ID} --user-key "${CERC_REGISTRY_USER_KEY}" fi laconic -c $CONFIG_FILE registry name set --user-key "${CERC_REGISTRY_USER_KEY}" --bond-id ${CERC_REGISTRY_BOND_ID} "$CERC_REGISTRY_APP_CRN@${rcd_app_version}" "$AR_RECORD_ID" From d9d016b6ab5eb1f8b70217714884354014276af4 Mon Sep 17 00:00:00 2001 From: iskay Date: Fri, 30 Aug 2024 16:16:51 -0400 Subject: [PATCH 2/2] update script --- scripts/publish-app-record.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publish-app-record.sh b/scripts/publish-app-record.sh index 6330c38..2e91bbe 100755 --- a/scripts/publish-app-record.sh +++ b/scripts/publish-app-record.sh @@ -21,8 +21,8 @@ rcd_app_version=$(jq -r '.version' package.json | sed 's/null//') cat < "$CONFIG_FILE" services: registry: - rpcEndpoint: '${CERC_REGISTRY_REST_ENDPOINT:-https://laconicd.knowquarter.xyz}' - gqlEndpoint: '${CERC_REGISTRY_GQL_ENDPOINT:-https://laconicd.knowquarter.xyz/api}' + rpcEndpoint: '${CERC_REGISTRY_REST_ENDPOINT:-https://laconicd.laconic.com}' + gqlEndpoint: '${CERC_REGISTRY_GQL_ENDPOINT:-https://laconicd.laconic.com/api}' chainId: ${CERC_REGISTRY_CHAIN_ID:-laconic_9000-1} gas: 9550000 fees: 150000000alnt