Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ttl33 committed Jan 24, 2024
1 parent a340f3f commit 4ecd7fc
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions v4-client-js/examples/gov_add_new_market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@ import { BECH32_PREFIX } from '../src';
import { CompositeClient } from '../src/clients/composite-client';
import { Network } from '../src/clients/constants';
import LocalWallet from '../src/clients/modules/local-wallet';

Check failure on line 4 in v4-client-js/examples/gov_add_new_market.ts

View workflow job for this annotation

GitHub Actions / CI

There should be no empty line within import group
import { DYDX_LOCAL_MNEMONIC, MAX_CLIENT_ID } from './constants';

import { DYDX_LOCAL_MNEMONIC } from './constants';

import { EncodeObject, Registry } from '@cosmjs/proto-signing';

Check failure on line 8 in v4-client-js/examples/gov_add_new_market.ts

View workflow job for this annotation

GitHub Actions / CI

There should be no empty line within import group

Check failure on line 8 in v4-client-js/examples/gov_add_new_market.ts

View workflow job for this annotation

GitHub Actions / CI

`@cosmjs/proto-signing` import should occur before import of `../src`

import Long from 'long';

Check failure on line 10 in v4-client-js/examples/gov_add_new_market.ts

View workflow job for this annotation

GitHub Actions / CI

`long` import should occur before import of `../src`

import { generateRegistry } from '../src/clients/lib/registry';

Check failure on line 12 in v4-client-js/examples/gov_add_new_market.ts

View workflow job for this annotation

GitHub Actions / CI

There should be no empty line within import group

Check failure on line 12 in v4-client-js/examples/gov_add_new_market.ts

View workflow job for this annotation

GitHub Actions / CI

`../src/clients/lib/registry` import should occur before import of `../src/clients/modules/local-wallet`

import { Composer } from '../src/clients/modules/composer';

Check failure on line 14 in v4-client-js/examples/gov_add_new_market.ts

View workflow job for this annotation

GitHub Actions / CI

`../src/clients/modules/composer` import should occur before import of `../src/clients/modules/local-wallet`

const INITIAL_DEPOSIT_AMOUNT = 10_000_000_000_000 // 10,000 whole native tokens.
const INITIAL_DEPOSIT_AMOUNT = 10_000_000_000_000; // 10,000 whole native tokens.
const MOCK_DATA = {
// common
id: 34,
Expand All @@ -26,7 +31,7 @@ const MOCK_DATA = {
{ exchangeName: 'Kucoin', ticker: 'BONK-USDT', adjustByMarket: 'USDT-USD' },
{ exchangeName: 'Okx', ticker: 'BONK-USDT', adjustByMarket: 'USDT-USD' },
{ exchangeName: 'Mexc', ticker: 'BONK_USDT', adjustByMarket: 'USDT-USD' },
]
],
}),

// x/perpetuals
Expand All @@ -41,7 +46,7 @@ const MOCK_DATA = {

// x/delaymsg
delayBlocks: 5,
}
};


Check failure on line 51 in v4-client-js/examples/gov_add_new_market.ts

View workflow job for this annotation

GitHub Actions / CI

More than 1 blank line not allowed
// To run this test:
Expand Down

0 comments on commit 4ecd7fc

Please sign in to comment.