Skip to content

Bump WeightToFee multiplier to 1 MEGAWEI#817

Closed
notlesh wants to merge 3 commits intomasterfrom
notlesh-weight-fee-mapping
Closed

Bump WeightToFee multiplier to 1 MEGAWEI#817
notlesh wants to merge 3 commits intomasterfrom
notlesh-weight-fee-mapping

Conversation

@notlesh
Copy link
Contributor

@notlesh notlesh commented Sep 14, 2021

What does it do?

Adds WeightToFee multiplier of 1 MWei. This is extracted from #730 .

@notlesh notlesh added A0-pleasereview Pull request needs code review. B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes labels Sep 14, 2021
Copy link
Collaborator

@crystalin crystalin left a comment

Choose a reason for hiding this comment

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

@JoshOrndorff if you can review it too

@girazoki
Copy link
Collaborator

Should we expect any of the typescript test to fail with this change? Might well be the case right?

@JoshOrndorff
Copy link
Contributor

The code does as it says on the tin. Is there some justification for this number though? Like what's the weight of some simple extrinsics, and the corresponding fee? What about:

balances::transfer
transfer through evm
system::Remark?

@notlesh
Copy link
Contributor Author

notlesh commented Sep 16, 2021

I'm closing this out for now until we have a more thorough understanding of the WeightToFee mechanism.

@notlesh notlesh closed this Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A0-pleasereview Pull request needs code review. B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments