Closed MuthuVega closed 2 years ago
Get the below error when retrieving reward details fro parties
Query:
query { parties { id accounts { type asset { id } balance } rewardSummaries { asset { id } amount } rewards { asset { id } amount rewardType percentageOfTotal epoch { id } } } }
Response:
{ "errors": [ { "message": "failed to convert AccountType from GraphQL to Proto: ACCOUNT_TYPE_FEES_INFRASTRUCTURE", "path": [ "parties", 2, "rewards", 17, "rewardType" ] }, { "message": "failed to convert AccountType from GraphQL to Proto: ACCOUNT_TYPE_FEES_INFRASTRUCTURE", "path": [ "parties", 2, "rewards", 1, "rewardType" ] }, { "message": "failed to convert AccountType from GraphQL to Proto: ACCOUNT_TYPE_FEES_INFRASTRUCTURE", "path": [ "parties", 2, "rewards", 2, "rewardType" ] },
I believe this was fixed in this pr. The above query works for me now at least:
Retested and working fine.
Get the below error when retrieving reward details fro parties
Query:
Response: