diff --git a/src/auction.test.ts b/src/auction.test.ts index b373db3..08d24b4 100644 --- a/src/auction.test.ts +++ b/src/auction.test.ts @@ -1,12 +1,12 @@ import Long from 'long'; import { coin } from '@cosmjs/amino'; +import { Coin } from '@cosmjs/proto-signing'; import { Registry, Account, createBid } from './index'; import { getConfig } from './testing/helper'; import { DENOM } from './constants'; import { Duration } from './proto/google/protobuf/duration'; -import { Coin } from '@cosmjs/proto-signing'; jest.setTimeout(30 * 60 * 1000); const { chainId, rpcEndpoint, gqlEndpoint, privateKey, fee } = getConfig(); diff --git a/src/constants.ts b/src/constants.ts index a54157d..1fa6289 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,2 +1,5 @@ export const DENOM = 'alnt'; export const DEFAULT_GAS_ESTIMATION_MULTIPLIER = 2; + +export const AUCTION_KIND_VICKREY = 'vickrey'; +export const AUCTION_KIND_PROVIDER = 'provider';