litentry / litentry-graph

A GraphQL Server providing aggregated blockchain identity data
Apache License 2.0
7 stars 0 forks source link

Fix council query #252

Closed ishrak-imam closed 2 years ago

ishrak-imam commented 2 years ago

Since in case of a council member voters list being too long when we try to resolve the voters account data in the same query the kusama chain gets overloaded with requests and thus blocked with an error response.

For more details please check https://litentry.slack.com/archives/C02C0QH27CY/p1653639994699229

To fix this issue now the voters list is resolved only as a list of address strings and the clients can fetch the voters account details lazily if needed.