-
Notifications
You must be signed in to change notification settings - Fork 438
Description
Describe the bug
A clear and concise description of what the bug is, including the exact market(e.g. polygon v3) on which it was observed.
There is a bug happening for the rates history API for graphs for Polygon V2 markets - and an issue where there is no data available to query since around June 4th 2022. The data from the subgraph is up to date. This is actually an issue on the deployed app because it's only querying the last 45 days.
Here's USDC as an example:
This API call doesn't return data, using the from
block number param: https://aave-api-v2.aave.com/data/rates-history?reserveId=0x2791bca1f2de4661ed88a30c99a7a9449aa841740xd05e3e715d945b59290df0ae8ef85c1bdb684744&from=1661338017
This API call doesn't use any block number, and pulls all data. Notice the date from the last object in the array: https://aave-api-v2.aave.com/data/rates-history?reserveId=0x2791bca1f2de4661ed88a30c99a7a9449aa841740xd05e3e715d945b59290df0ae8ef85c1bdb684744
To Reproduce
Steps to reproduce the behavior:
- Go to https://app.aave.com/reserve-overview/?underlyingAsset=0x2058a9d7613eee744279e3856ef0eada5fcbaa7e&marketName=proto_mumbai
- Notice the graphs don't load due to bad data
- View the API request links above
- Notice the latest data point not being up to date
Expected behavior
A clear and concise description of what you expected to happen.
There should be data coming back that is up to date.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
See this comment.