subgraphs icon indicating copy to clipboard operation
subgraphs copied to clipboard

#bug; Aave not catching all events

Open melotik opened this issue 11 months ago • 0 comments

Describe the bug Subgraph does not have all of the expected repays.

Reproduction Where can we see this bug in action?

  1. https://okgraph.xyz/?q=messari%2Faave-v2-ethereum Query:
{
  accounts(where: {id: "0xa53a13a80d72a855481de5211e7654fabdfe3526"}) {
    repays(
      where: {asset_: {id: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}
      first: 1000
    ) {
      asset {
        id
        decimals
      }
      amount
      amountUSD
      blockNumber
      timestamp
      hash
    }
  }
}

Expected behavior We can query aave's official subgraph and see there is data available.

  1. https://thegraph.com/hosted-service/subgraph/aave/protocol-v2

Query

query MyQuery {
  repays(
    where: {repayer: "0xa53a13a80d72a855481de5211e7654fabdfe3526", reserve_contains: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
    first: 1000
  ) {
    txHash
    timestamp
    amount
    assetPriceUSD
    reserve {
      id
      name
      decimals
    }
  }
}

melotik avatar Mar 01 '24 18:03 melotik