From 0c0037e2ac1b6001012748f0d415dbcdd5f7f539 Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Thu, 19 Sep 2024 17:37:34 +0530 Subject: [PATCH] Add auction kind in constants --- src/auction.test.ts | 2 +- src/constants.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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';