mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
use named generic types in generate_solution_type (#2707)
* use named generic types in generate_solution_type * "Update Substrate" Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
ef816b089d
commit
27b6d83974
@@ -321,8 +321,11 @@ parameter_types! {
|
||||
|
||||
sp_npos_elections::generate_solution_type!(
|
||||
#[compact]
|
||||
pub struct NposCompactSolution16::<u32, u16, sp_runtime::PerU16>(16)
|
||||
// -------------------- ^^ <NominatorIndex, ValidatorIndex, Accuracy>
|
||||
pub struct NposCompactSolution16::<
|
||||
VoterIndex = u32,
|
||||
TargetIndex = u16,
|
||||
Accuracy = sp_runtime::PerU16,
|
||||
>(16)
|
||||
);
|
||||
|
||||
impl pallet_election_provider_multi_phase::Config for Runtime {
|
||||
|
||||
Reference in New Issue
Block a user