Commit 9601b479 authored by Oliver Tale-Yazdi's avatar Oliver Tale-Yazdi Committed by GitHub
Browse files

Correct arithmetical semantic of `PerDispatchClass` (#13194)



* Fix PerDispatchClass arithmetic

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Test PerDispatchClass arithmetic

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Add helpers for Weight

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Remove stale doc

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Dont mention Polkadot in Substrate

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Tests

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Remove saturating_ prefix

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix tests

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix usage

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
parent 702963fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment