balancer/balancer-subgraph

finalizedPoolCount gives a negative number

Closed this issue · 2 comments

rbval commented

We use Balancer's finalizedPoolCount to get the total number of pools to query data from:

image

at block height 10118632 this number is positive however:

image

Curious if there's some bug in the graph mapper?

@rbval Good question, i know it was working previously because we were using this on our UI, i'm not sure when it stop working, but i do see much change in the code that would explain that. I'm trying some changes to fix that here #59 it's on our beta subgraph: https://thegraph.com/explorer/subgraph/balancer-labs/balancer-beta?version=pending it will need a bit of time to be fully sync.

With the change, the count of pool is now positive and seem to be working fine, i'm closing this issue feel free to reopen if needed.