frame-system: Index type 'MaybeSerializeDeserialize' bound.
@@ -77,7 +77,7 @@ use sp_runtime::{
traits::{
self, CheckEqual, AtLeast32Bit, Zero, Lookup, LookupError,
SimpleBitOps, Hash, Member, MaybeDisplay, BadOrigin,
- MaybeSerialize, MaybeSerializeDeserialize, MaybeMallocSizeOf, StaticLookup, One, Bounded,
+ MaybeSerializeDeserialize, MaybeMallocSizeOf, StaticLookup, One, Bounded,
Dispatchable, AtLeast32BitUnsigned, Saturating, StoredMapError,
},
offchain::storage_lock::BlockNumberProvider,
@@ -174,7 +174,7 @@ pub mod pallet {
/// Account index (aka nonce) type. This stores the number of previous transactions associated
/// with a sender account.
type Index:
- Parameter + Member + MaybeSerialize + Debug + Default + MaybeDisplay + AtLeast32Bit
+ Parameter + Member + MaybeSerializeDeserialize + Debug + Default + MaybeDisplay + AtLeast32Bit
+ Copy;
/// The block number type used by the runtime.
