Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subquery: Snapshots breaking change #2340

Open
2 tasks
hieronx opened this issue Aug 5, 2024 · 2 comments
Open
2 tasks

Subquery: Snapshots breaking change #2340

hieronx opened this issue Aug 5, 2024 · 2 comments
Assignees

Comments

@hieronx
Copy link
Contributor

hieronx commented Aug 5, 2024

There's a new snapshotting method in the subquery. This is deployed in the staging release: https://explorer.subquery.network/subquery/centrifuge/pools-multichain?stage=true

  • The token price data seems to be missing on some days, see the LTF pool performance chart eg on July 25th:
Screenshot 2024-08-05 at 11 38 05

Oddly enough, the daily balance sheet report does correctly show the token price:
Screenshot 2024-08-05 at 11 38 27

It seems something must have broken in getDailyPoolStates method of centrifuge.js.

{
  snapshotPeriods(orderBy: START_ASC, first: 1000) {
    nodes {
      id
      poolSnapshots {
        aggregates {
          sum {
            normalizedNAV
          }
        }
      }
    }
  }
}
@onnovisser onnovisser self-assigned this Aug 5, 2024
@0x4Graham
Copy link

@onnovisser Is this working again? I don't see any PR's?

@onnovisser
Copy link
Collaborator

@0x4Graham yes, it was this PR #2342

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants