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(bug): handle lengthToFee given runtime v9190 #900

Merged
merged 4 commits into from
Apr 21, 2022

Conversation

TarikGul
Copy link
Member

closes: #899

This PR properly handles our perByte parameter passed into calc_fee when calculating a partialFee. With v9190 TransactionByteFee has been replaced with LengthToFee. What this updates aims to do is handle both properly within a new class method called getPerByte.

The PR that introduced this change in polkadot: paritytech/polkadot#5028

@TarikGul TarikGul requested a review from a team as a code owner April 20, 2022 16:45
@TarikGul TarikGul merged commit 992b458 into master Apr 21, 2022
@TarikGul TarikGul deleted the tarik-fix-transactionbytefee branch April 21, 2022 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"info":{"error":"Fee calculation not supported for 9190#westend"}
3 participants