Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix claimedRewards in staking.derives #5870

Merged
merged 3 commits into from
May 8, 2024
Merged

Conversation

TarikGul
Copy link
Member

@TarikGul TarikGul commented May 7, 2024

This PR focuses on fixing the regression that was introduced to api.derive.staking.queryMulti in #5862.

Instead of creating thousands of subscriptions to get all the info we need we simple receive all the entries and transform the data to fit the existing structure.

Thanks to @josepot for the help and inspiration.

@TarikGul
Copy link
Member Author

TarikGul commented May 8, 2024

closes: #5870

@TarikGul TarikGul added the -auto label May 8, 2024
@polkadot-js-bot polkadot-js-bot merged commit 2ca9da3 into master May 8, 2024
6 checks passed
@polkadot-js-bot polkadot-js-bot deleted the tg-fix-perf-staking branch May 8, 2024 03:15
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants