diff --git a/primitives/src/config/mod.rs b/primitives/src/config/mod.rs index 47e41eb5e..cc1de2eef 100644 --- a/primitives/src/config/mod.rs +++ b/primitives/src/config/mod.rs @@ -34,7 +34,7 @@ pub trait Config { /// transactions associated with a sender account. /// This type enforces the (de)serialization implementation /// also in no-std mode (unlike substrates MaybeSerializeDeserialize). - type Index: Debug + Copy + DeserializeOwned + AtLeast32Bit + Decode; + type Index: Default + Debug + Copy + DeserializeOwned + AtLeast32Bit + Decode; /// The block number type used by the runtime. type BlockNumber: Debug