Introduce `WeightToFee` trait instead of `WeightToFeePolynomial` and make...
Introduce `WeightToFee` trait instead of `WeightToFeePolynomial` and make `WeightToFeePolynomial` implement it instead (#11415) * Introduce `WeightToFee` trait instead of `WeightToFeePolynomial` and make `WeightToFeePolynomial` implement it instead * Rename `WeightToFee::calc()` to `WeightToFee::wight_to_fee()` * Fix typo
parent
29474f98
Showing
- substrate/Cargo.lock 0 additions, 2 deletionssubstrate/Cargo.lock
- substrate/bin/node/executor/tests/fees.rs 3 additions, 5 deletionssubstrate/bin/node/executor/tests/fees.rs
- substrate/bin/node/runtime/src/impls.rs 4 additions, 2 deletionssubstrate/bin/node/runtime/src/impls.rs
- substrate/frame/executive/src/lib.rs 5 additions, 5 deletionssubstrate/frame/executive/src/lib.rs
- substrate/frame/support/src/weights.rs 44 additions, 39 deletionssubstrate/frame/support/src/weights.rs
- substrate/frame/transaction-payment/Cargo.toml 0 additions, 1 deletionsubstrate/frame/transaction-payment/Cargo.toml
- substrate/frame/transaction-payment/asset-tx-payment/Cargo.toml 0 additions, 1 deletion...ate/frame/transaction-payment/asset-tx-payment/Cargo.toml
- substrate/frame/transaction-payment/asset-tx-payment/src/tests.rs 16 additions, 17 deletions...e/frame/transaction-payment/asset-tx-payment/src/tests.rs
- substrate/frame/transaction-payment/src/lib.rs 14 additions, 40 deletionssubstrate/frame/transaction-payment/src/lib.rs
Please register or sign in to comment