Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco committed Nov 18, 2024
1 parent 1ee05af commit 29b7f3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/controllers/pool-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { getViemClient } from '../sources/viem-client';
import { getBlockNumbersSubgraphClient, getV3JoinedSubgraphClient, getVaultSubgraphClient } from '../sources/subgraphs';
import { prisma } from '../../prisma/prisma-client';
import { updateLiquidity24hAgo, updateLiquidityValuesForPools } from '../actions/pool/update-liquidity';
import { updateHoldersCount } from '../actions/pool/update-holders-count';
import { updateLifetimeValues } from '../actions/pool/update-holders-count';
import { Chain, PrismaLastBlockSyncedCategory } from '@prisma/client';
import { getVaultClient } from '../sources/contracts/v3/vault-client';
import { upsertPools as upsertPoolsV3 } from '../actions/pool/v3/upsert-pools';
Expand Down Expand Up @@ -134,7 +134,7 @@ export function PoolController(tracer?: any) {
chain,
pools.map(({ id }) => id),
);
await updateHoldersCount(pools.map(({ id }) => id));
await updateLifetimeValues(pools.map(({ id }) => id));
},
async updateLiquidityValuesForInactivePools(chain: Chain) {
const pools = await prisma.prismaPool.findMany({
Expand Down

0 comments on commit 29b7f3b

Please sign in to comment.