Skip to content

[GNOSIS] No sDAI / EURe E-Mode informations in reserves #147

Open
@RobinNogues

Description

The E-Mode data for sDAI / EURe is not in reserves key for sDai and EURe while this E-Mode is defined in emodeCategories.

{
  emodeCategories {
    label
    id
  }
}

We get 1: ETH correlated and 2: sDAI / EURe (id: label).

But when we do this query :

{
  reserves(where: {eMode_: {id: "2"}}) {
    symbol
    name
    eMode {
      id
      label
    }
  }
}

It returns nothing, while it should return sDAI and EURe. The query with id: "1" (ETH correlated) works has expected.

We should obtain this result :

{
  "data": {
    "reserves": [
      {
        "eMode": {
          "id": "2",
          "label": "sDAI / EURe",
        },
        "symbol": "sDAI"
      },
      {
        "eMode": {
          "id": "2",
          "label": "sDAI / EURe",
        },
        "symbol": "EURe"
      }
    ]
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions