From 7502f5230c242beaeabf80ef79bdc267f8277d6e Mon Sep 17 00:00:00 2001 From: Adw8 Date: Fri, 25 Oct 2024 16:05:05 +0530 Subject: [PATCH] Update script to not include denom in paymentAmount --- packages/deployer/config.yml | 10 ++++------ packages/deployer/deploy-frontend.sh | 3 +-- packages/frontend/package.json | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/packages/deployer/config.yml b/packages/deployer/config.yml index 2ffbadc5..ce7d6b54 100644 --- a/packages/deployer/config.yml +++ b/packages/deployer/config.yml @@ -1,10 +1,8 @@ services: registry: - rpcEndpoint: http://laconicd.laconic.com:26657 - gqlEndpoint: http://laconicd.laconic.com:9473/api - userKey: 08c0d30ed23706330468e6936316a3bc3e69e451e394f05027ad56119bb485b9 - bondId: 820587f916d9a6a056f1e6a5a250151d9fa0c1e771347a6b8bb3d6f2090fd11b + rpcEndpoint: https://laconicd-sapo.laconic.com + gqlEndpoint: https://laconicd-sapo.laconic.com/api + userKey: + bondId: chainId: laconic_9000-2 - gas: - fees: gasPrice: 1alnt diff --git a/packages/deployer/deploy-frontend.sh b/packages/deployer/deploy-frontend.sh index 6631f274..4af80bf1 100755 --- a/packages/deployer/deploy-frontend.sh +++ b/packages/deployer/deploy-frontend.sh @@ -98,8 +98,7 @@ fi # Get payment address for deployer paymentAddress=$(yarn --silent laconic -c config.yml registry name resolve "$DEPLOYER_LRN" | jq -r '.[0].attributes.paymentAddress') -paymentAmount=$(yarn --silent laconic -c config.yml registry name resolve "$DEPLOYER_LRN" | jq -r '.[0].attributes.minimumPayment') - +paymentAmount=$(yarn --silent laconic -c config.yml registry name resolve "$DEPLOYER_LRN" | jq -r '.[0].attributes.minimumPayment' | sed 's/alnt//g') # Pay deployer if paymentAmount is not null if [[ -n "$paymentAmount" && "$paymentAmount" != "null" ]]; then payment=$(yarn --silent laconic -c config.yml registry tokens send --address "$paymentAddress" --type alnt --quantity "$paymentAmount") diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 3a8b9a21..d395b256 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -1,7 +1,7 @@ { "name": "frontend", "private": true, - "version": "0.0.0", + "version": "1.0.0", "type": "module", "scripts": { "dev": "vite --port 3000",