diff --git a/substrate/node/runtime/src/lib.rs b/substrate/node/runtime/src/lib.rs index fe97f806fc..2c9663cc96 100644 --- a/substrate/node/runtime/src/lib.rs +++ b/substrate/node/runtime/src/lib.rs @@ -83,8 +83,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to equal spec_version. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 186, - impl_version: 186, + spec_version: 187, + impl_version: 187, apis: RUNTIME_API_VERSIONS, }; diff --git a/substrate/srml/nicks/src/lib.rs b/substrate/srml/nicks/src/lib.rs index 894f7100f8..b5c433a70e 100644 --- a/substrate/srml/nicks/src/lib.rs +++ b/substrate/srml/nicks/src/lib.rs @@ -100,6 +100,15 @@ decl_module! { pub struct Module for enum Call where origin: T::Origin { fn deposit_event() = default; + /// Reservation fee. + const ReservationFee: BalanceOf = T::ReservationFee::get(); + + /// The minimum length a name may be. + const MinLength: u32 = T::MinLength::get() as u32; + + /// The maximum length a name may be. + const MaxLength: u32 = T::MaxLength::get() as u32; + /// Set an account's name. The name should be a UTF-8-encoded string by convention, though /// we don't check it. ///