Skip to content

Commit

Permalink
remove slot check exclusion for prelaunch
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Mar 15, 2024
1 parent 9ad9fd4 commit f82b2c5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/dlob-subscriber/DLOBSubscriberIO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const PERP_MAKRET_STALENESS_THRESHOLD = 10 * 60 * 1000;
const SPOT_MAKRET_STALENESS_THRESHOLD = 20 * 60 * 1000;

const PERP_MARKETS_TO_SKIP_SLOT_CHECK = {
'mainnet-beta': [17, 21, 23, 25, 26],
'mainnet-beta': [17],
devnet: [17, 21],
};

Expand Down Expand Up @@ -93,10 +93,6 @@ export class DLOBSubscriberIO extends DLOBSubscriber {
market.marketIndex
);
const includeVamm = !isVariant(perpMarket.status, 'ammPaused');
const oracleSource = perpMarket.amm.oracleSource;
if (isVariant(oracleSource, 'prelaunch')) {
this.skipSlotStalenessCheckMarketsPerp.push(market.marketIndex);
}

this.marketArgs.push({
marketIndex: market.marketIndex,
Expand Down

0 comments on commit f82b2c5

Please sign in to comment.