Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lcwik committed Nov 29, 2023
1 parent 44b977d commit d8e593a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { logger } from '@dydxprotocol-indexer/base';
import {
MarketFromDatabase,
MarketModel,
storeHelpers,
} from '@dydxprotocol-indexer/postgres';
import { MarketEventV1 } from '@dydxprotocol-indexer/v4-protos';
import * as pg from 'pg';

import { ConsolidatedKafkaEvent, MarketCreateEventMessage } from '../../lib/types';
import { Handler } from '../handler';
Expand All @@ -26,7 +23,7 @@ export class MarketCreateHandler extends Handler<MarketEventV1> {
});

const eventDataBinary: Uint8Array = this.indexerTendermintEvent.dataBytes;
const result: pg.QueryResult = await storeHelpers.rawQuery(
await storeHelpers.rawQuery(
`SELECT dydx_market_create_handler(
'${JSON.stringify(MarketEventV1.decode(eventDataBinary))}'
) AS result;`,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { logger } from '@dydxprotocol-indexer/base';
import {
storeHelpers,
} from '@dydxprotocol-indexer/postgres';
import { storeHelpers } from '@dydxprotocol-indexer/postgres';
import { MarketEventV1 } from '@dydxprotocol-indexer/v4-protos';

import { ConsolidatedKafkaEvent, MarketModifyEventMessage } from '../../lib/types';
Expand Down

0 comments on commit d8e593a

Please sign in to comment.