Skip to content

#bug; Aave v3 is missing markets on mainnet #2690

@daniildxb

Description

@daniildxb

Describe the bug
Aave v3 Ethereum subgraph is missing bunch of markets, which are present in the marketList array

USDT, USDC, DAI markets are missing, probably some others also

Reproduction
It's currently happening on the official messari subgraph
https://thegraph.com/explorer/subgraphs/JCNWRypm7FYwV8fx5HhzZPSFaMxgkPuw4TnR3Gpi81zk?view=Query&chain=arbitrum-one

Fetch market list to verify that subgraph is aware of the market

query MyQuery {
  marketLists {
    markets
  }
}

Get back array of market IDs defined by aToken address

Try to fetch USDT market by using aUSDT address (0x23878914efe38d27c4d67ab83ed1b93a74d4086a)

query GetMarketById {
  market(id: "0x23878914efe38d27c4d67ab83ed1b93a74d4086a") {
    id
  }
}

Get empty result

Alternatively you can just fetch list of all markets and see that it's incomplete when checked against mainnet aave v3.

Subgraph link
https://thegraph.com/explorer/subgraphs/JCNWRypm7FYwV8fx5HhzZPSFaMxgkPuw4TnR3Gpi81zk?view=Query&chain=arbitrum-one

Expected behavior
All markets supported by AAVE are present

Screenshots
Screenshots with query results
Image
Image

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions