Skip to content

Commit 608913a

Browse files
committed
1 parent fc6da85 commit 608913a

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

runtime/crab/src/pallets/elections_phragmen.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ impl pallet_elections_phragmen::Config for Runtime {
3737
type LoserCandidate = Treasury;
3838
type MaxCandidates = ConstU32<MAX_CANDIDATES>;
3939
type MaxVoters = ConstU32<{ 10 * MAX_CANDIDATES }>;
40+
type MaxVotesPerVoter = ConstU32<16>;
4041
type PalletId = PhragmenElectionPalletId;
4142
type RuntimeEvent = RuntimeEvent;
4243
// Daily council elections.

runtime/darwinia/src/pallets/elections_phragmen.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ impl pallet_elections_phragmen::Config for Runtime {
3737
type LoserCandidate = Treasury;
3838
type MaxCandidates = ConstU32<MAX_CANDIDATES>;
3939
type MaxVoters = ConstU32<{ 10 * MAX_CANDIDATES }>;
40+
type MaxVotesPerVoter = ConstU32<16>;
4041
type PalletId = PhragmenElectionPalletId;
4142
type RuntimeEvent = RuntimeEvent;
4243
// Daily council elections.

runtime/pangolin/src/pallets/elections_phragmen.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ impl pallet_elections_phragmen::Config for Runtime {
3737
type LoserCandidate = Treasury;
3838
type MaxCandidates = ConstU32<MAX_CANDIDATES>;
3939
type MaxVoters = ConstU32<{ 10 * MAX_CANDIDATES }>;
40+
type MaxVotesPerVoter = ConstU32<16>;
4041
type PalletId = PhragmenElectionPalletId;
4142
type RuntimeEvent = RuntimeEvent;
4243
// Daily council elections.

runtime/pangoro/src/pallets/elections_phragmen.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ impl pallet_elections_phragmen::Config for Runtime {
3737
type LoserCandidate = Treasury;
3838
type MaxCandidates = ConstU32<MAX_CANDIDATES>;
3939
type MaxVoters = ConstU32<{ 10 * MAX_CANDIDATES }>;
40+
type MaxVotesPerVoter = ConstU32<16>;
4041
type PalletId = PhragmenElectionPalletId;
4142
type RuntimeEvent = RuntimeEvent;
4243
// Daily council elections.

0 commit comments

Comments
 (0)