From 86045a4588131739b824cfa29ce73611b85ea6e8 Mon Sep 17 00:00:00 2001 From: Hernando Castano Date: Thu, 18 Jan 2024 19:38:31 -0700 Subject: [PATCH] Add `IdentityInformation` to `pallet_identity` Introduced in https://github.com/paritytech/polkadot-sdk/pull/1661 --- runtime/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 9a9e83209..1de2bb174 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -77,6 +77,7 @@ use pallet_election_provider_multi_phase::SolutionAccuracyOf; use pallet_grandpa::{ fg_primitives, AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList, }; +use pallet_identity::simple::IdentityInfo; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; use pallet_session::historical as pallet_session_historical; #[cfg(any(feature = "std", test))] @@ -1207,6 +1208,7 @@ parameter_types! { impl pallet_identity::Config for Runtime { type BasicDeposit = BasicDeposit; type Currency = Balances; + type IdentityInformation = IdentityInfo; type FieldDeposit = FieldDeposit; type ForceOrigin = EnsureRootOrHalfCouncil; type MaxAdditionalFields = MaxAdditionalFields;