Skip to content

Fix fee calculation#30

Merged
notlesh merged 7 commits intomainfrom
notlesh-fix-fee-calculation
May 9, 2023
Merged

Fix fee calculation#30
notlesh merged 7 commits intomainfrom
notlesh-fix-fee-calculation

Conversation

@notlesh
Copy link
Contributor

@notlesh notlesh commented Apr 24, 2023

Fixes client-side fee calculation, similar to what was done here: moonbeam-foundation/moonbeam#2254. Notably, this queries the new api.call.transactionPayment.weightToFee and ...lengthToFee which use the underlying functions configured in the runtime for this pallet.

@notlesh notlesh requested a review from timbrinded May 8, 2023 19:12
Copy link
Contributor

@timbrinded timbrinded left a comment

Choose a reason for hiding this comment

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

lgtm

@notlesh notlesh merged commit 8352bde into main May 9, 2023
@crystalin crystalin deleted the notlesh-fix-fee-calculation branch May 23, 2023 06:24
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.

3 participants