Skip to content

Commit

Permalink
add missing indexer constants
Browse files Browse the repository at this point in the history
  • Loading branch information
jakob-dydx committed Dec 1, 2023
1 parent a260fe1 commit ddef3f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions indexer/packages/postgres/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Record<SpecifiedClobPairStatus, PerpetualMarketStatus> = {
[ClobPairStatus.CLOB_PAIR_STATUS_PAUSED]: PerpetualMarketStatus.PAUSED,
[ClobPairStatus.CLOB_PAIR_STATUS_POST_ONLY]: PerpetualMarketStatus.POST_ONLY,
[ClobPairStatus.CLOB_PAIR_STATUS_INITIALIZING]: PerpetualMarketStatus.INITIALIZING,
[ClobPairStatus.CLOB_PAIR_STATUS_FINAL_SETTLEMENT]: PerpetualMarketStatus.FINAL_SETTLEMENT,
};

export const DEFAULT_POSTGRES_OPTIONS : Options = config.USE_READ_REPLICA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,5 @@ export enum PerpetualMarketStatus {
CANCEL_ONLY = 'CANCEL_ONLY',
POST_ONLY = 'POST_ONLY',
INITIALIZING = 'INITIALIZING',
FINAL_SETTLEMENT = 'FINAL_SETTLEMENT',
}

0 comments on commit ddef3f7

Please sign in to comment.