mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 03:31:05 +00:00
Companion for substrate#13771 (#2410)
* max proposal weight config * update deps --------- Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+242
-263
File diff suppressed because it is too large
Load Diff
@@ -450,6 +450,7 @@ pub const ALLIANCE_MOTION_DURATION: BlockNumber = 5 * DAYS;
|
||||
|
||||
parameter_types! {
|
||||
pub const AllianceMotionDuration: BlockNumber = ALLIANCE_MOTION_DURATION;
|
||||
pub MaxProposalWeight: Weight = Perbill::from_percent(50) * RuntimeBlockWeights::get().max_block;
|
||||
}
|
||||
pub const ALLIANCE_MAX_PROPOSALS: u32 = 100;
|
||||
pub const ALLIANCE_MAX_MEMBERS: u32 = 100;
|
||||
@@ -465,6 +466,7 @@ impl pallet_collective::Config<AllianceCollective> for Runtime {
|
||||
type DefaultVote = pallet_collective::MoreThanMajorityThenPrimeDefaultVote;
|
||||
type SetMembersOrigin = EnsureRoot<AccountId>;
|
||||
type WeightInfo = weights::pallet_collective::WeightInfo<Runtime>;
|
||||
type MaxProposalWeight = MaxProposalWeight;
|
||||
}
|
||||
|
||||
pub const MAX_FELLOWS: u32 = ALLIANCE_MAX_MEMBERS;
|
||||
|
||||
Reference in New Issue
Block a user