Skip to content

Commit

Permalink
dep info
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco committed Oct 19, 2023
1 parent fd1740d commit 07f4247
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/pool/lib/pool-usd-data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ export class PoolUsdDataService {
await prismaBulkExecuteOperations(operations);
}

/**
* This function depends on pools data to be up to date, so it should be called after
* poolService.syncAllPoolsFromSubgraph or mutation poolSyncAllPoolsFromSubgraph
*/
public async updateLifetimeValuesForAllPools() {
let updates: any[] = [];
const subgraphPools = await this.balancerSubgraphService.getAllPools({});
Expand Down

0 comments on commit 07f4247

Please sign in to comment.