Skip to content

Commit

Permalink
Revert "disable sei cache" (#577)
Browse files Browse the repository at this point in the history
Revert "disable sei cache (#576)"

This reverts commit 995da38.
  • Loading branch information
thelostone-mc committed Jun 18, 2024
1 parent 995da38 commit 29385d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export type Chain = {
tokens: Token[];
subscriptions: Subscription[];
maxGetLogsRange?: number;
noCache?: boolean;
};

const rpcUrl = z.string().url();
Expand Down Expand Up @@ -1477,8 +1476,6 @@ const CHAINS: Chain[] = [
.default("https://evm-rpc.sei-apis.com")
.parse(process.env.SEI_MAINNET_RPC_URL),
pricesFromTimestamp: Date.UTC(2024, 0, 1, 0, 0, 0),
maxGetLogsRange: 8000,
noCache: true,
tokens: [
{
code: "SEI",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ async function catchupAndWatchChain(
},
context: eventHandlerContext,
subscriptionStore: config.subscriptionStore,
cache: config.chain.noCache ? null : config.chainsauceCache,
cache: config.chainsauceCache,
logLevel: "trace",
logger: (level, msg, data) => {
if (level === "error") {
Expand Down

0 comments on commit 29385d5

Please sign in to comment.