mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
Patch practical usability issues with Society (#4651)
* Add `max_members` to `found`, add society genesis for Substrate node * Update test * Use `Option<bool>` rather than `Option<()>` * Update from feedback
This commit is contained in:
committed by
Gavin Wood
parent
ba1d446b48
commit
d5ecec3775
@@ -571,7 +571,6 @@ parameter_types! {
|
||||
pub const PeriodSpend: Balance = 500 * DOLLARS;
|
||||
pub const MaxLockDuration: BlockNumber = 36 * 30 * DAYS;
|
||||
pub const ChallengePeriod: BlockNumber = 7 * DAYS;
|
||||
pub const MaxMembers: u32 = 999;
|
||||
}
|
||||
|
||||
impl pallet_society::Trait for Runtime {
|
||||
@@ -621,7 +620,7 @@ construct_runtime!(
|
||||
Offences: pallet_offences::{Module, Call, Storage, Event},
|
||||
RandomnessCollectiveFlip: pallet_randomness_collective_flip::{Module, Call, Storage},
|
||||
Identity: pallet_identity::{Module, Call, Storage, Event<T>},
|
||||
Society: pallet_society::{Module, Call, Storage, Event<T>},
|
||||
Society: pallet_society::{Module, Call, Storage, Event<T>, Config<T>},
|
||||
Recovery: pallet_recovery::{Module, Call, Storage, Event<T>},
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user