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: avoid use queryInfo rpc call #1169

Merged
merged 4 commits into from
Dec 20, 2022
Merged

fix: avoid use queryInfo rpc call #1169

merged 4 commits into from
Dec 20, 2022

Conversation

xlc
Copy link
Contributor

@xlc xlc commented Dec 20, 2022

closes #1167
closes #1165

@xlc xlc requested a review from a team as a code owner December 20, 2022 03:14
@TarikGul TarikGul changed the title avoid use queryInfo rpc call fix: avoid use queryInfo rpc call Dec 20, 2022
Copy link
Member

@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for being proactive about this change. If you're okay with it as well so we can have it all in one PR, it would make sense to do a similar change to fetchQueryFeeDetails, as it uses api.rpc.payment.queryFeeDetails and would benefit from the same change to a call.

Copy link
Member

@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for the contribution as always!

@TarikGul TarikGul merged commit 907ba92 into paritytech:master Dec 20, 2022
@xlc xlc deleted the fix-fee branch December 20, 2022 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants