UpgradeAuthorityKeys

Trait UpgradeAuthorityKeys 

Source
pub trait UpgradeAuthorityKeys<NewAuthorityKeys> {
    // Required method
    fn upgrade(self) -> NewAuthorityKeys;
}
Expand description

Infallible cast from old to current T::AuthorityKeys, used for storage migration

Required Methods§

Source

fn upgrade(self) -> NewAuthorityKeys

Should cast the old session keys type to the new one

Implementors§