Skip to content

Commit

Permalink
fix: pool snapshots query
Browse files Browse the repository at this point in the history
  • Loading branch information
hieronx committed Nov 5, 2024
1 parent a562c77 commit 7da2fb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions centrifuge-js/src/modules/pools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,8 @@ export function getPoolsModule(inst: Centrifuge) {
orderBy: BLOCK_NUMBER_ASC,
filter: {
poolId: { equalTo: $poolId },
timestamp: { greaterThan: $from, lessThan: $to }
timestamp: { greaterThan: $from, lessThan: $to },
epochExists: false
}
after: $poolCursor
) {
Expand Down Expand Up @@ -2716,7 +2717,7 @@ export function getPoolsModule(inst: Centrifuge) {
}
}>(
`query {
poolSnapshots(first: 1000, orderBy: PERIOD_ID_ASC) {
poolSnapshots(first: 1000, orderBy: PERIOD_ID_ASC, epochExists: false) {
nodes {
netAssetValue
periodId
Expand Down

0 comments on commit 7da2fb3

Please sign in to comment.