Correct arithmetical semantic of `PerDispatchClass` (#13194)
* Fix PerDispatchClass arithmetic Signed-off-by:Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Test PerDispatchClass arithmetic Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add helpers for Weight Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove stale doc Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Dont mention Polkadot in Substrate Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Tests Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove saturating_ prefix Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix tests Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix usage Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Signed-off-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
parent
702963fe
Showing
- substrate/frame/support/src/dispatch.rs 193 additions, 16 deletionssubstrate/frame/support/src/dispatch.rs
- substrate/frame/support/src/weights.rs 1 addition, 9 deletionssubstrate/frame/support/src/weights.rs
- substrate/frame/system/src/extensions/check_weight.rs 3 additions, 3 deletionssubstrate/frame/system/src/extensions/check_weight.rs
- substrate/frame/system/src/lib.rs 1 addition, 1 deletionsubstrate/frame/system/src/lib.rs
- substrate/primitives/weights/src/lib.rs 0 additions, 7 deletionssubstrate/primitives/weights/src/lib.rs
- substrate/primitives/weights/src/weight_v2.rs 109 additions, 0 deletionssubstrate/primitives/weights/src/weight_v2.rs
Please register or sign in to comment