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

#bug; Aave not catching all events #2494

Open
melotik opened this issue Mar 1, 2024 · 0 comments
Open

#bug; Aave not catching all events #2494

melotik opened this issue Mar 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working p1 medium priority

Comments

@melotik
Copy link
Contributor

melotik commented Mar 1, 2024

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 melotik added bug Something isn't working p1 medium priority labels Mar 1, 2024
@melotik melotik self-assigned this Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p1 medium priority
Projects
Status: Discussions
Development

No branches or pull requests

1 participant