diff --git a/src/config.ts b/src/config.ts index 2de132ca..e3add51a 100644 --- a/src/config.ts +++ b/src/config.ts @@ -10,7 +10,7 @@ import os from "node:os"; type ChainId = number; type CoingeckoSupportedChainId = 1 | 10 | 250 | 42161 | 43114; -const CHAIN_DATA_VERSION = "48"; +const CHAIN_DATA_VERSION = "49"; export type Token = { code: string; diff --git a/src/index.ts b/src/index.ts index e72c823d..8d8d09b2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -42,7 +42,6 @@ import { decodeJsonWithBigInts } from "./utils/index.js"; import { Block } from "chainsauce/dist/cache.js"; import { createPublicClient, http } from "viem"; import { IndexerEvents } from "chainsauce/dist/indexer.js"; -import { ContractSubscriptionPruner } from "./contractSubscriptionPruner.js"; const RESOURCE_MONITOR_INTERVAL_MS = 1 * 60 * 1000; // every minute @@ -554,14 +553,6 @@ async function catchupAndWatchChain( }); indexer.watch(); - - const contractSubscriptionPruner = new ContractSubscriptionPruner({ - client: rpcClient, - logger: chainLogger, - indexer, - }); - - contractSubscriptionPruner.start(); } return db;