Companion to Move sp-npos-elections-solution-type to frame-election-provider-support #11016 (#5090)

* using `frame_npos_elections_solution_type`

* forget to commit one change

* substrate pallet renaming

* cargo update -p sp-io

Co-authored-by: kianenigma <kian@parity.io>
This commit is contained in:
Georges
2022-03-14 11:38:49 +00:00
committed by GitHub
parent 68209b7a5f
commit 22229991fa
5 changed files with 180 additions and 180 deletions
+173 -173
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -412,7 +412,7 @@ parameter_types! {
pub const VoterSnapshotPerBlock: u32 = 22_500;
}
sp_npos_elections::generate_solution_type!(
frame_election_provider_support::generate_solution_type!(
#[compact]
pub struct NposCompactSolution24::<
VoterIndex = u32,
+4 -4
View File
@@ -167,8 +167,8 @@ std = [
"beefy-primitives/std",
"pallet-mmr-primitives/std",
"frame-election-provider-support/std",
"pallet-xcm/std",
"xcm/std",
"pallet-xcm/std",
"xcm/std",
"xcm-executor/std",
"xcm-builder/std",
]
@@ -201,12 +201,12 @@ runtime-benchmarks = [
"pallet-tips/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"pallet-vesting/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"pallet-offences-benchmarking",
"pallet-session-benchmarking",
"frame-system-benchmarking",
"hex-literal",
"xcm-builder/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"frame-election-provider-support/runtime-benchmarks",
"runtime-parachains/runtime-benchmarks",
]
+1 -1
View File
@@ -454,7 +454,7 @@ parameter_types! {
pub const VoterSnapshotPerBlock: u32 = 22_500;
}
sp_npos_elections::generate_solution_type!(
frame_election_provider_support::generate_solution_type!(
#[compact]
pub struct NposCompactSolution16::<
VoterIndex = u32,
+1 -1
View File
@@ -364,7 +364,7 @@ parameter_types! {
pub const VoterSnapshotPerBlock: u32 = 22_500;
}
sp_npos_elections::generate_solution_type!(
frame_election_provider_support::generate_solution_type!(
#[compact]
pub struct NposCompactSolution16::<
VoterIndex = u32,