Skip to content
This repository was archived by the owner on Jul 4, 2022. It is now read-only.

Commit 9b40d50

Browse files
authored
frame-system: Index type 'MaybeSerializeDeserialize' bound. (#8035)
1 parent 2fb4534 commit 9b40d50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frame/system/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ use sp_runtime::{
7777
traits::{
7878
self, CheckEqual, AtLeast32Bit, Zero, Lookup, LookupError,
7979
SimpleBitOps, Hash, Member, MaybeDisplay, BadOrigin,
80-
MaybeSerialize, MaybeSerializeDeserialize, MaybeMallocSizeOf, StaticLookup, One, Bounded,
80+
MaybeSerializeDeserialize, MaybeMallocSizeOf, StaticLookup, One, Bounded,
8181
Dispatchable, AtLeast32BitUnsigned, Saturating, StoredMapError,
8282
},
8383
offchain::storage_lock::BlockNumberProvider,
@@ -174,7 +174,7 @@ pub mod pallet {
174174
/// Account index (aka nonce) type. This stores the number of previous transactions associated
175175
/// with a sender account.
176176
type Index:
177-
Parameter + Member + MaybeSerialize + Debug + Default + MaybeDisplay + AtLeast32Bit
177+
Parameter + Member + MaybeSerializeDeserialize + Debug + Default + MaybeDisplay + AtLeast32Bit
178178
+ Copy;
179179

180180
/// The block number type used by the runtime.

0 commit comments

Comments
 (0)