Fix the broken weight multiplier update function (#6334)
* Initial draft, has some todos left * remove ununsed import * Apply suggestions from code review * Some refactors with migration * Fix more test and cleanup * Fix for companion * Apply suggestions from code review Co-authored-by:Alexander Popiak <alexander.popiak@parity.io> * Update bin/node/runtime/src/impls.rs * Fix weight * Add integrity test * length is not affected. Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io>
Showing
- substrate/Cargo.lock 1 addition, 0 deletionssubstrate/Cargo.lock
- substrate/bin/node/executor/tests/basic.rs 24 additions, 31 deletionssubstrate/bin/node/executor/tests/basic.rs
- substrate/bin/node/executor/tests/fees.rs 6 additions, 6 deletionssubstrate/bin/node/executor/tests/fees.rs
- substrate/bin/node/runtime/src/impls.rs 146 additions, 148 deletionssubstrate/bin/node/runtime/src/impls.rs
- substrate/bin/node/runtime/src/lib.rs 8 additions, 13 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/balances/src/tests.rs 4 additions, 3 deletionssubstrate/frame/balances/src/tests.rs
- substrate/frame/system/src/lib.rs 1 addition, 1 deletionsubstrate/frame/system/src/lib.rs
- substrate/frame/transaction-payment/Cargo.toml 2 additions, 0 deletionssubstrate/frame/transaction-payment/Cargo.toml
- substrate/frame/transaction-payment/src/lib.rs 247 additions, 49 deletionssubstrate/frame/transaction-payment/src/lib.rs
- substrate/primitives/arithmetic/src/fixed_point.rs 17 additions, 0 deletionssubstrate/primitives/arithmetic/src/fixed_point.rs
Please register or sign in to comment