mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
companion substrate#13305 (#6680)
* fix all runtimes
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+181
-181
File diff suppressed because it is too large
Load Diff
@@ -112,6 +112,7 @@ parameter_types! {
|
|||||||
pub TermDuration: BlockNumber = prod_or_fast!(24 * HOURS, 2 * MINUTES, "KSM_TERM_DURATION");
|
pub TermDuration: BlockNumber = prod_or_fast!(24 * HOURS, 2 * MINUTES, "KSM_TERM_DURATION");
|
||||||
pub const DesiredMembers: u32 = 19;
|
pub const DesiredMembers: u32 = 19;
|
||||||
pub const DesiredRunnersUp: u32 = 19;
|
pub const DesiredRunnersUp: u32 = 19;
|
||||||
|
pub const MaxVotesPerVoter: u32 = 16;
|
||||||
pub const MaxVoters: u32 = 10 * 1000;
|
pub const MaxVoters: u32 = 10 * 1000;
|
||||||
pub const MaxCandidates: u32 = 1000;
|
pub const MaxCandidates: u32 = 1000;
|
||||||
pub const PhragmenElectionPalletId: LockIdentifier = *b"phrelect";
|
pub const PhragmenElectionPalletId: LockIdentifier = *b"phrelect";
|
||||||
@@ -136,6 +137,7 @@ impl pallet_elections_phragmen::Config for Runtime {
|
|||||||
type TermDuration = TermDuration;
|
type TermDuration = TermDuration;
|
||||||
type MaxVoters = MaxVoters;
|
type MaxVoters = MaxVoters;
|
||||||
type MaxCandidates = MaxCandidates;
|
type MaxCandidates = MaxCandidates;
|
||||||
|
type MaxVotesPerVoter = MaxVotesPerVoter;
|
||||||
type PalletId = PhragmenElectionPalletId;
|
type PalletId = PhragmenElectionPalletId;
|
||||||
type WeightInfo = weights::pallet_elections_phragmen::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_elections_phragmen::WeightInfo<Runtime>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -755,6 +755,7 @@ parameter_types! {
|
|||||||
pub const DesiredMembers: u32 = 13;
|
pub const DesiredMembers: u32 = 13;
|
||||||
pub const DesiredRunnersUp: u32 = 20;
|
pub const DesiredRunnersUp: u32 = 20;
|
||||||
pub const MaxVoters: u32 = 10 * 1000;
|
pub const MaxVoters: u32 = 10 * 1000;
|
||||||
|
pub const MaxVotesPerVoter: u32 = 16;
|
||||||
pub const MaxCandidates: u32 = 1000;
|
pub const MaxCandidates: u32 = 1000;
|
||||||
pub const PhragmenElectionPalletId: LockIdentifier = *b"phrelect";
|
pub const PhragmenElectionPalletId: LockIdentifier = *b"phrelect";
|
||||||
}
|
}
|
||||||
@@ -777,6 +778,7 @@ impl pallet_elections_phragmen::Config for Runtime {
|
|||||||
type DesiredRunnersUp = DesiredRunnersUp;
|
type DesiredRunnersUp = DesiredRunnersUp;
|
||||||
type TermDuration = TermDuration;
|
type TermDuration = TermDuration;
|
||||||
type MaxVoters = MaxVoters;
|
type MaxVoters = MaxVoters;
|
||||||
|
type MaxVotesPerVoter = MaxVotesPerVoter;
|
||||||
type MaxCandidates = MaxCandidates;
|
type MaxCandidates = MaxCandidates;
|
||||||
type WeightInfo = weights::pallet_elections_phragmen::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_elections_phragmen::WeightInfo<Runtime>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -472,6 +472,7 @@ parameter_types! {
|
|||||||
pub const DesiredMembers: u32 = 19;
|
pub const DesiredMembers: u32 = 19;
|
||||||
pub const DesiredRunnersUp: u32 = 19;
|
pub const DesiredRunnersUp: u32 = 19;
|
||||||
pub const MaxVoters: u32 = 10 * 1000;
|
pub const MaxVoters: u32 = 10 * 1000;
|
||||||
|
pub const MaxVotesPerVoter: u32 = 16;
|
||||||
pub const MaxCandidates: u32 = 1000;
|
pub const MaxCandidates: u32 = 1000;
|
||||||
pub const PhragmenElectionPalletId: LockIdentifier = *b"phrelect";
|
pub const PhragmenElectionPalletId: LockIdentifier = *b"phrelect";
|
||||||
}
|
}
|
||||||
@@ -494,6 +495,7 @@ impl pallet_elections_phragmen::Config for Runtime {
|
|||||||
type DesiredRunnersUp = DesiredRunnersUp;
|
type DesiredRunnersUp = DesiredRunnersUp;
|
||||||
type TermDuration = TermDuration;
|
type TermDuration = TermDuration;
|
||||||
type MaxVoters = MaxVoters;
|
type MaxVoters = MaxVoters;
|
||||||
|
type MaxVotesPerVoter = MaxVotesPerVoter;
|
||||||
type MaxCandidates = MaxCandidates;
|
type MaxCandidates = MaxCandidates;
|
||||||
type PalletId = PhragmenElectionPalletId;
|
type PalletId = PhragmenElectionPalletId;
|
||||||
type WeightInfo = weights::pallet_elections_phragmen::WeightInfo<Runtime>;
|
type WeightInfo = weights::pallet_elections_phragmen::WeightInfo<Runtime>;
|
||||||
|
|||||||
Reference in New Issue
Block a user