mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 19:11:04 +00:00
runtime: Expose const params for nicks module (#3932)
* Expose const params for nicks module * Bump runtime
This commit is contained in:
@@ -83,8 +83,8 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
|||||||
// and set impl_version to equal spec_version. If only runtime
|
// and set impl_version to equal spec_version. If only runtime
|
||||||
// implementation changes and behavior does not, then leave spec_version as
|
// implementation changes and behavior does not, then leave spec_version as
|
||||||
// is and increment impl_version.
|
// is and increment impl_version.
|
||||||
spec_version: 186,
|
spec_version: 187,
|
||||||
impl_version: 186,
|
impl_version: 187,
|
||||||
apis: RUNTIME_API_VERSIONS,
|
apis: RUNTIME_API_VERSIONS,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -100,6 +100,15 @@ decl_module! {
|
|||||||
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
|
pub struct Module<T: Trait> for enum Call where origin: T::Origin {
|
||||||
fn deposit_event() = default;
|
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
|
/// Set an account's name. The name should be a UTF-8-encoded string by convention, though
|
||||||
/// we don't check it.
|
/// we don't check it.
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user