mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +00:00
Make candidate intake in society configurable (#8445)
* Make candidate intake in society configurable * Update frame/society/src/lib.rs * fix fix
This commit is contained in:
@@ -953,6 +953,7 @@ parameter_types! {
|
||||
pub const PeriodSpend: Balance = 500 * DOLLARS;
|
||||
pub const MaxLockDuration: BlockNumber = 36 * 30 * DAYS;
|
||||
pub const ChallengePeriod: BlockNumber = 7 * DAYS;
|
||||
pub const MaxCandidateIntake: u32 = 10;
|
||||
pub const SocietyModuleId: ModuleId = ModuleId(*b"py/socie");
|
||||
}
|
||||
|
||||
@@ -970,6 +971,7 @@ impl pallet_society::Config for Runtime {
|
||||
type MaxLockDuration = MaxLockDuration;
|
||||
type FounderSetOrigin = pallet_collective::EnsureProportionMoreThan<_1, _2, AccountId, CouncilCollective>;
|
||||
type SuspensionJudgementOrigin = pallet_society::EnsureFounder<Runtime>;
|
||||
type MaxCandidateIntake = MaxCandidateIntake;
|
||||
type ChallengePeriod = ChallengePeriod;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user