Skip to content

Commit

Permalink
type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
tdimitrov committed Feb 28, 2025
1 parent 146d877 commit a844a85
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions polkadot/runtime/westend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,7 @@ impl pallet_session::Config for Runtime {
type ValidatorIdOf = pallet_staking::StashOf<Self>;
type ShouldEndSession = Babe;
type NextSessionRotation = Babe;
type SessionManager =
pallet_session::historical::NoteHistoricalRoot<Self, AssetHubStakingClient>;
type SessionManager = session_historical::NoteHistoricalRoot<Self, AssetHubStakingClient>;
type SessionHandler = <SessionKeys as OpaqueKeys>::KeyTypeIdProviders;
type Keys = SessionKeys;
type DisablingStrategy = pallet_session::disabling::UpToLimitWithReEnablingDisablingStrategy;
Expand All @@ -545,7 +544,7 @@ impl sp_runtime::traits::Convert<AccountId, Option<()>> for FullIdentificationOf
}
}

impl pallet_session::historical::Config for Runtime {
impl session_historical::Config for Runtime {
type FullIdentification = ();
type FullIdentificationOf = FullIdentificationOf;
}
Expand Down Expand Up @@ -863,7 +862,7 @@ impl pallet_treasury::Config for Runtime {

impl pallet_offences::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
type IdentificationTuple = session_historical::IdentificationTuple<Self>;
type OnOffenceHandler = AssetHubStakingClient;
}

Expand Down

0 comments on commit a844a85

Please sign in to comment.