--- a/pallets/configuration/src/lib.rs +++ b/pallets/configuration/src/lib.rs @@ -42,7 +42,7 @@ mod pallet { use super::*; use frame_support::{ - traits::{fungible, Get, ReservableCurrency, Currency}, + traits::{fungible, Get}, pallet_prelude::{StorageValue, ValueQuery, DispatchResult, IsType}, log, }; --- a/runtime/common/config/pallets/collator_selection.rs +++ b/runtime/common/config/pallets/collator_selection.rs @@ -59,6 +59,7 @@ pub const MaxSubAccounts: u32 = 100; pub const MaxAdditionalFields: u32 = 100; pub const MaxRegistrars: u32 = 20; + pub const LicenceBondIdentifier: [u8; 16] = *b"licenceidentifie"; } impl pallet_identity::Config for Runtime { @@ -93,4 +94,5 @@ type ValidatorIdOf = pallet_collator_selection::IdentityCollator; type ValidatorRegistration = Session; type WeightInfo = pallet_collator_selection::weights::SubstrateWeight; + type LicenceBondIdentifier = LicenceBondIdentifier; }