Make all PerThing types implement all trait methods on the type (#5422)

This removes the requirement to import `PerThing` to use a type that
implements the trait.
This commit is contained in:
Bastian Köcher
2020-03-27 11:21:14 +01:00
committed by GitHub
parent acab5f0570
commit bd5758932b
8 changed files with 53 additions and 17 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ use pallet_session::historical::IdentificationTuple;
use sp_runtime::{
offchain::storage::StorageValueRef,
RuntimeDebug,
traits::{Convert, Member, Saturating, AtLeast32Bit}, Perbill, PerThing,
traits::{Convert, Member, Saturating, AtLeast32Bit}, Perbill,
transaction_validity::{
TransactionValidity, ValidTransaction, InvalidTransaction, TransactionSource,
TransactionPriority,