diff --git a/pallets/smith-members/src/lib.rs b/pallets/smith-members/src/lib.rs index 1245ea28e247dfc297a2a2ac17013b7f41ac5a4c..934a0e4ea1676949ecccda634c855ca4085a6d47 100644 --- a/pallets/smith-members/src/lib.rs +++ b/pallets/smith-members/src/lib.rs @@ -102,22 +102,19 @@ pub mod pallet { + MaxEncodedLen; /// Identifier for an authority-member type MemberId: Copy + Ord + MaybeSerializeDeserialize + Parameter; + /// Something that gives the IdtyId of an AccountId + type IdtyIdOf: Convert<Self::AccountId, Option<Self::IdtyIndex>>; + /// Something that gives the IdtyId of an AccountId + type IdtyIdOfAuthorityId: Convert<Self::MemberId, Option<Self::IdtyIndex>>; /// Maximum number of active certifications by issuer #[pallet::constant] type MaxByIssuer: Get<u32>; - /// Minimum number of certifications to be able to create a smith - #[pallet::constant] - type MinCertForCreateIdtyRight: Get<u32>; /// Minimum number of certifications to become a Smith #[pallet::constant] type MinCertForMembership: Get<u32>; /// Maximum duration of inactivity before a smith is removed #[pallet::constant] type InactivityMaxDuration: Get<u32>; - /// Something that gives the IdtyId of an AccountId - type IdtyIdOf: Convert<Self::AccountId, Option<Self::IdtyIndex>>; - /// Something that gives the IdtyId of an AccountId - type IdtyIdOfAuthorityId: Convert<Self::MemberId, Option<Self::IdtyIndex>>; } /// Events type.