subgraphs
subgraphs copied to clipboard
#bug; Aave not catching all events
Describe the bug Subgraph does not have all of the expected repays.
Reproduction Where can we see this bug in action?
- 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.
- https://thegraph.com/hosted-service/subgraph/aave/protocol-v2
query MyQuery {
repays(
where: {repayer: "0xa53a13a80d72a855481de5211e7654fabdfe3526", reserve_contains: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
first: 1000
) {
txHash
timestamp
amount
assetPriceUSD
reserve {
id
name
decimals
}
}
}