@@ -38,7 +38,7 @@ use frame_support::{
3838 tokens:: { nonfungibles_v2:: Inspect , GetSalary , PayFromAccount } ,
3939 AsEnsureOriginWithArg , ConstBool , ConstU128 , ConstU16 , ConstU32 , Currency , EitherOfDiverse ,
4040 EqualPrivilegeOnly , Everything , Imbalance , InstanceFilter , KeyOwnerProofSystem ,
41- LockIdentifier , Nothing , OnUnbalanced , U128CurrencyToVote , WithdrawReasons ,
41+ LockIdentifier , Nothing , OnUnbalanced , WithdrawReasons ,
4242 } ,
4343 weights:: {
4444 constants:: {
@@ -575,7 +575,7 @@ impl pallet_staking::Config for Runtime {
575575 type Currency = Balances ;
576576 type CurrencyBalance = Balance ;
577577 type UnixTime = Timestamp ;
578- type CurrencyToVote = U128CurrencyToVote ;
578+ type CurrencyToVote = sp_staking :: currency_to_vote :: U128CurrencyToVote ;
579579 type RewardRemainder = Treasury ;
580580 type RuntimeEvent = RuntimeEvent ;
581581 type Slash = Treasury ; // send the slashed funds to the treasury.
@@ -600,7 +600,7 @@ impl pallet_staking::Config for Runtime {
600600 type TargetList = pallet_staking:: UseValidatorsMap < Self > ;
601601 type MaxUnlockingChunks = ConstU32 < 32 > ;
602602 type HistoryDepth = HistoryDepth ;
603- type OnStakerSlash = NominationPools ;
603+ type EventListeners = NominationPools ;
604604 type WeightInfo = pallet_staking:: weights:: SubstrateWeight < Runtime > ;
605605 type BenchmarkingConfig = StakingBenchmarkingConfig ;
606606}
@@ -1047,7 +1047,7 @@ impl pallet_elections_phragmen::Config for Runtime {
10471047 // NOTE: this implies that council's genesis members cannot be set directly and must come from
10481048 // this module.
10491049 type InitializeMembers = Council ;
1050- type CurrencyToVote = U128CurrencyToVote ;
1050+ type CurrencyToVote = sp_staking :: currency_to_vote :: U128CurrencyToVote ;
10511051 type CandidacyBond = CandidacyBond ;
10521052 type VotingBondBase = VotingBondBase ;
10531053 type VotingBondFactor = VotingBondFactor ;
0 commit comments