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

Stable weights impacted by WeightToFee function #1708

Open
enddynayn opened this issue Oct 11, 2023 · 0 comments
Open

Stable weights impacted by WeightToFee function #1708

enddynayn opened this issue Oct 11, 2023 · 0 comments
Labels
bug Something isn't working tech-debt

Comments

@enddynayn
Copy link
Collaborator

Description
Stable weights are impacted by changes in the WeightToFee function. The weight-to-fee function
uses extrinsic base weights to compute the fee. When running the benchmarks for extrinsic base weights it changes.

https://github.com/LibertyDSNP/frequency/blob/501d622245cd2f886e13a3dd4c68ca1963c2bf19/pallets/frequency-tx-payment/src/lib.rs#L298

Potential solution
Commit a weight-to-fee function for capacity.

@enddynayn enddynayn added the bug Something isn't working label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tech-debt
Projects
None yet
Development

No branches or pull requests

2 participants