centrifuge / apps

Monorepo for Centrifuge frontends, including Centrifuge App, onboarding api, and Fabric design system.
GNU Lesser General Public License v3.0
27 stars 16 forks source link

Subquery support for Tinlake data #1930

Open annamehr opened 8 months ago

annamehr commented 8 months ago

from Adam Slack message

I've got a subquery indexing tinlake TVL now that's ready to test, but the centrifuge TVL query in cent app only grabs the first 100 items right now. Would someone be able to update that so that it functions like the old subgraph queries that fetch repeatedly until there are no more entries? This is the function in question: https://github.com/centrifuge/apps/blob/main/centrifuge-js/src/modules/pools.ts#L2196

jpangelle commented 7 months ago

@AStox is working on getting subquery data fixed.

AStox commented 7 months ago

Looks like the latest attempt to index tinlake data worked fine up until block ~18543475.

image

I'll try to figure out what went wrong, update the branch here, and re-index. Hopefully will be able to fix this this week and close this issue.