Companion to Moving NposSolution to frame #11031 (#5112)

* using `frame_npos_elections_solution_type`

* forget to commit one change

* substrate pallet renaming

* `Support` moved to frame in substrate

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Georges
2022-03-16 22:03:25 +00:00
committed by GitHub
parent f35f5ae9a4
commit 1c443c65ef
4 changed files with 168 additions and 169 deletions
+1 -1
View File
@@ -543,7 +543,7 @@ parameter_types! {
pub const MaxNominatorRewardedPerValidator: u32 = 256;
pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17);
// 24
pub const MaxNominations: u32 = <NposCompactSolution24 as sp_npos_elections::NposSolution>::LIMIT as u32;
pub const MaxNominations: u32 = <NposCompactSolution24 as frame_election_provider_support::NposSolution>::LIMIT as u32;
}
type SlashCancelOrigin = EnsureOneOf<