Skip to content
Snippets Groups Projects
Commit c08ac227 authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

runtime: Expose const params for nicks module (#3932)

* Expose const params for nicks module

* Bump runtime
parent d41a5ce0
No related merge requests found
......@@ -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,
};
......
......@@ -100,6 +100,15 @@ decl_module! {
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
fn deposit_event() = default;
/// Reservation fee.
const ReservationFee: BalanceOf<T> = 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.
///
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment