Closed TarikGul closed 4 months ago
The main issue here is api.derive.staking.queryMulti
calls over 1024
observables at the same time causing the node to respond with an error. The best option here is to use api.derive.staking.query
instead, and add a generator behind it that yields once each call is done.
Completed via: https://github.com/polkadot-js/apps/pull/10552
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
Currently I had to disable
withClaimedRewardsEras
since there is a performance regression. It will call297 x historyDepth
all at once. Because of this we are not able to get theclaimedRewards
storage query from the api. In this case the main option I am thinking is adding a generator and querying 1 validator at a time, and printing them as the data comes.