Uniswap / v3-subgraph

Subgraph for Uniswap V3
GNU General Public License v3.0
338 stars 464 forks source link

bad indexers crashes query #240

Closed pata-eth closed 1 month ago

pata-eth commented 1 month ago

As a liquidity aggregator, a functioning sub-graph is key. The query below returns:

{
  "errors": [
    {
      "message": "bad indexers: {0x17def1a43a323c711c7a32101ecf41e58eff54a2: Unavailable(too far behind), 0x32bbd16a94ebb289edceebe77f35acc82664157b: Unavailable(too far behind), 0x35917c0eb91d2e21bef40940d028940484230c06: Unavailable(too far behind), 0x38f412c8d6346a17a53ff9ceecd2e01acecd27c0: Unavailable(too far behind), 0x4e5c87772c29381bcabc58c3f182b6633b5a274a: Unavailable(too far behind), 0x4f45530236e1c6603870301010dcab7b561125b3: Timeout, 0xbdfb5ee5a2abf4fc7bb1bd1221067aef7f9de491: Unavailable(too far behind), 0xc9014686f6336ad558b539565d5dff840b339082: Unavailable(too far behind), 0xedca8740873152ff30a2696add66d1ab41882beb: Unavailable(too far behind)}"
    }
  ]
}
{
  pools(skip: 0, first: 1000, where:
    {
        totalValueLockedUSD_gt: 100000
    }) { 

    id
    token0 {
      id
      symbol
      name
      decimals
      totalSupply
    }
    token1 {
      id
      symbol
      name
      decimals
      totalSupply
    }
  }
}
image
pata-eth commented 1 month ago

It turns out I was using the wrong graph. here's the one that worked https://thegraph.com/explorer/subgraphs/5zvR82QoaXYFyDEKLZ9t6v9adgnptxYpKpSbxtgVENFV?view=Query