git.delta.rocks / unique-network / refs/commits / d516d14324e6

difftreelog

fix merge

Grigoriy Simonov2023-05-23parent: #13a9726.patch.diff
in: master

2 files changed

modifiedpallets/configuration/src/lib.rsdiffbeforeafterboth
42mod pallet {42mod pallet {
43 use super::*;43 use super::*;
44 use frame_support::{44 use frame_support::{
45 traits::{fungible, Get, ReservableCurrency, Currency},45 traits::{fungible, Get},
46 pallet_prelude::{StorageValue, ValueQuery, DispatchResult, IsType},46 pallet_prelude::{StorageValue, ValueQuery, DispatchResult, IsType},
47 log,47 log,
48 };48 };
modifiedruntime/common/config/pallets/collator_selection.rsdiffbeforeafterboth
--- 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<Runtime>;
+	type LicenceBondIdentifier = LicenceBondIdentifier;
 }