aave / aave/protocol-subgraphs

The Subgraph not fetching the data for `aETH` and few other `aTokens`

Open
#38 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
150
Forks
130
PR merge metrics
No merged PRs in 30d

Description

Description

As a developer I want to fetch the data for aETH and other Aave tokens using the subgraph here. when queried for reserves for the account 0x49a2dcc237a65cc1f412ed47e0594602f6141936 the subgraph doesn't returns the aETH reserves. on the other hand the aETH reserves are displayed by the contract here, as well as the v1 version of the subgraph here.

How to replicate the issue?
  • go to this link here, try to read the contract with the address value of 0x49a2dcc237a65cc1f412ed47e0594602f6141936.
  • Or check here
  • Go to the subgraph here, try to fetch the data using the query below
{
    userReserves(
        where: {
            user: "0x49a2dcc237a65cc1f412ed47e0594602f6141936"
        }
    ) {
        reserve {
            symbol
            name
        }
    scaledATokenBalance
    }
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Aave protocol-v2 subgraph and reproduce the userReserves query for account 0x49a2dcc237a65cc1f412ed47e0594602f6141936. Compare its results with the contract read and the protocol-multy-raw v1 subgraph; the issue is done when the v2 query returns the aETH and other missing Aave token reserves consistently with those references.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.