From 798ed712b352aaa0a3d4ba9476d5ecac3546be0c Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Thu, 1 Aug 2024 09:31:50 +0530 Subject: [PATCH] Export token denom --- src/constants.ts | 1 + src/index.ts | 4 ++-- src/testing/helper.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index 7371e32..1edce2f 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1 +1,2 @@ export const DENOM = 'alnt'; +export const DEFAULT_CHAIN_ID = 'laconic_9000-1'; diff --git a/src/index.ts b/src/index.ts index 692ebc5..2cc4556 100644 --- a/src/index.ts +++ b/src/index.ts @@ -31,8 +31,7 @@ import { Coin } from './proto/cosmos/base/v1beta1/coin'; import { MsgCancelBondResponse, MsgCreateBondResponse, MsgRefillBondResponse, MsgWithdrawBondResponse } from './proto/cerc/bond/v1/tx'; import { MsgOnboardParticipantResponse } from './proto/cerc/onboarding/v1/tx'; import { MsgSendResponse } from './proto/cosmos/bank/v1beta1/tx'; - -export const DEFAULT_CHAIN_ID = 'laconic_9000-1'; +import { DEFAULT_CHAIN_ID } from './constants'; /** * Create an auction bid. @@ -479,5 +478,6 @@ export class Registry { export { Account }; export { LaconicClient }; +export { DENOM, DEFAULT_CHAIN_ID } from './constants'; export * from './types/cerc/bond/message'; export * from './types/cerc/onboarding/message'; diff --git a/src/testing/helper.ts b/src/testing/helper.ts index c431146..c310501 100644 --- a/src/testing/helper.ts +++ b/src/testing/helper.ts @@ -2,7 +2,7 @@ import assert from 'assert'; import yaml from 'node-yaml'; import semver from 'semver'; -import { DEFAULT_CHAIN_ID } from '../index'; +import { DEFAULT_CHAIN_ID } from '../constants'; export const ensureUpdatedConfig = async (path: string) => { const conf = await yaml.read(path);