From 147348cf1d9c26b96564f0598dc90bd2418bb60c Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 30 Jul 2024 11:55:33 +0000 Subject: [PATCH] Change token denom from photon to alnt (#17) Part of [laconicd testnet validator enrollment](https://www.notion.so/laconicd-testnet-validator-enrollment-6fc1d3cafcc64fef8c5ed3affa27c675) Co-authored-by: IshaVenikar Reviewed-on: https://git.vdb.to/cerc-io/registry-sdk/pulls/17 Co-authored-by: Prathamesh Musale Co-committed-by: Prathamesh Musale --- package.json | 2 +- src/constants.ts | 2 +- src/naming.test.ts | 2 +- src/testing/helper.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 763e877..1b454b8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/registry-sdk", - "version": "0.2.4", + "version": "0.2.5", "main": "dist/index.js", "types": "dist/index.d.ts", "repository": "git@github.com:cerc-io/registry-sdk.git", diff --git a/src/constants.ts b/src/constants.ts index 19a0b49..7371e32 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1 +1 @@ -export const DENOM = 'photon'; +export const DENOM = 'alnt'; diff --git a/src/naming.test.ts b/src/naming.test.ts index 973ad13..4c40225 100644 --- a/src/naming.test.ts +++ b/src/naming.test.ts @@ -93,7 +93,7 @@ const namingTests = () => { const mnenonic1 = Account.generateMnemonic(); const otherAccount1 = await Account.generateFromMnemonic(mnenonic1); await otherAccount1.init(); - await registry.sendCoins({ denom: DENOM, amount: '10000', destinationAddress: otherAccount1.address }, privateKey, fee); + await registry.sendCoins({ denom: DENOM, amount: '1000000000', destinationAddress: otherAccount1.address }, privateKey, fee); const mnenonic2 = Account.generateMnemonic(); const otherAccount2 = await Account.generateFromMnemonic(mnenonic2); diff --git a/src/testing/helper.ts b/src/testing/helper.ts index 67695d4..c431146 100644 --- a/src/testing/helper.ts +++ b/src/testing/helper.ts @@ -28,7 +28,7 @@ export const getConfig = () => { rpcEndpoint: process.env.LACONICD_RPC_ENDPOINT || 'http://localhost:26657', gqlEndpoint: process.env.LACONICD_GQL_ENDPOINT || 'http://localhost:9473/api', fee: { - amount: [{ denom: 'photon', amount: '40' }], + amount: [{ denom: 'alnt', amount: '400000' }], gas: '400000' } };