-
Notifications
You must be signed in to change notification settings - Fork 385
Tweak Substrate-based fees #1218
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
Conversation
|
Dont forget to modify for |
|
Alan and I discussed rolling these changes out to Alphanet for testing. This would mean only touching the |
|
Makes sense to me. Have we gotten any pre-liminary numbers on how the numbers look like now? |
Yes, a couple I tested were closer to a 10% difference with their Ethereum-txn counterparts. I'll try to post a list of comparisons as I do more testing today. |
|
Copying my notes from yesterday here: My conclusion at this point is that Some minimal adjustments to this pallet could be made to support our use-case... |
|
I played with changing
While this doesn't follow Ethereum txn fee logic, it is a way to reconcile the main problem with this PR. It would require upstream changes or a custom pallet... |
|
I have opened an issue and PR against Substrate that may resolve the problems mentioned above: |
|
This PR has been fully superseded by others, including #1576 |
This PR is essentially a revival of #730, which means:
BlockWeightsimpl which specifies a value forbase_extrinsic(this should account for more expensive ECDSA signature verification)WeightToFeeconfig with a custom impl which is implemented as a flat modifier, but uses1_000_000instead of1. This reflects MOVR/GLMR having 18 decimal places whereas KSM/DOT have 12.Note that there is currently a problem with tweaking per-byte fees (described below) where it's not possible to have a small txn be sufficiently cheap and a large txn be sufficiently expensive. I have an issue/PR against Substrate which would make this possible:
paritytech/substrate#10784
paritytech/substrate#10785