Trait pallet_session::historical::pallet::Config
source · pub trait Config: Config + Config {
type FullIdentification: Parameter;
type FullIdentificationOf: Convert<Self::ValidatorId, Option<Self::FullIdentification>>;
}
Expand description
Config necessary for the historical pallet.
Required Associated Types§
sourcetype FullIdentification: Parameter
type FullIdentification: Parameter
Full identification of the validator.
sourcetype FullIdentificationOf: Convert<Self::ValidatorId, Option<Self::FullIdentification>>
type FullIdentificationOf: Convert<Self::ValidatorId, Option<Self::FullIdentification>>
A conversion from validator ID to full identification.
This should contain any references to economic actors associated with the validator, since they may be outdated by the time this is queried from a historical trie.
It must return the identification for the current session index.