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);