Add methods for creating auctions and add auction tests #28
@ -1,12 +1,12 @@
|
|||||||
import Long from 'long';
|
import Long from 'long';
|
||||||
|
|
||||||
import { coin } from '@cosmjs/amino';
|
import { coin } from '@cosmjs/amino';
|
||||||
|
import { Coin } from '@cosmjs/proto-signing';
|
||||||
|
|
||||||
import { Registry, Account, createBid } from './index';
|
import { Registry, Account, createBid } from './index';
|
||||||
import { getConfig } from './testing/helper';
|
import { getConfig } from './testing/helper';
|
||||||
import { DENOM } from './constants';
|
import { DENOM } from './constants';
|
||||||
import { Duration } from './proto/google/protobuf/duration';
|
import { Duration } from './proto/google/protobuf/duration';
|
||||||
import { Coin } from '@cosmjs/proto-signing';
|
|
||||||
|
|
||||||
jest.setTimeout(30 * 60 * 1000);
|
jest.setTimeout(30 * 60 * 1000);
|
||||||
const { chainId, rpcEndpoint, gqlEndpoint, privateKey, fee } = getConfig();
|
const { chainId, rpcEndpoint, gqlEndpoint, privateKey, fee } = getConfig();
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
export const DENOM = 'alnt';
|
export const DENOM = 'alnt';
|
||||||
export const DEFAULT_GAS_ESTIMATION_MULTIPLIER = 2;
|
export const DEFAULT_GAS_ESTIMATION_MULTIPLIER = 2;
|
||||||
|
|
||||||
|
export const AUCTION_KIND_VICKREY = 'vickrey';
|
||||||
|
export const AUCTION_KIND_PROVIDER = 'provider';
|
||||||
|
Loading…
Reference in New Issue
Block a user