From 40906b20bc579e79be3b64a7f37ee7994a4b5065 Mon Sep 17 00:00:00 2001 From: Maksim Ramanenkau Date: Thu, 27 Oct 2022 13:06:38 +0300 Subject: [PATCH] Set shorter duration for other variables --- bin/node/runtime/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/node/runtime/src/lib.rs b/bin/node/runtime/src/lib.rs index b66c89be168e3..9b7f20fb7cc66 100644 --- a/bin/node/runtime/src/lib.rs +++ b/bin/node/runtime/src/lib.rs @@ -753,7 +753,7 @@ impl pallet_collective::Config for Runtime { } parameter_types! { - pub const CandidacyBond: Balance = 100 * DOLLARS; + pub const CandidacyBond: Balance = 1 * DOLLARS; // 1 storage item created, key size is 32 bytes, value size is 16+16. pub const VotingBondBase: Balance = 1 * DOLLARS; pub const VotingBondFactor: Balance = 1 * DOLLARS; @@ -823,7 +823,7 @@ impl pallet_membership::Config for Runtime { parameter_types! { pub const ProposalBond: Permill = Permill::from_percent(5); - pub const ProposalBondMinimum: Balance = 100 * DOLLARS; + pub const ProposalBondMinimum: Balance = 1 * DOLLARS; pub const SpendPeriod: BlockNumber = 5 * MINUTES; pub const Burn: Permill = Permill::from_percent(0); pub const TipCountdown: BlockNumber = 5 * MINUTES; @@ -1099,12 +1099,12 @@ impl pallet_recovery::Config for Runtime { } parameter_types! { - pub const CandidateDeposit: Balance = 10 * DOLLARS; + pub const CandidateDeposit: Balance = 1 * DOLLARS; pub const WrongSideDeduction: Balance = 2 * DOLLARS; pub const MaxStrikes: u32 = 10; pub const RotationPeriod: BlockNumber = 5 * MINUTES; - pub const PeriodSpend: Balance = 500 * DOLLARS; - pub const MaxLockDuration: BlockNumber = 36 * 30 * DAYS; + pub const PeriodSpend: Balance = 5 * DOLLARS; + pub const MaxLockDuration: BlockNumber = 70 * MINUTES; pub const ChallengePeriod: BlockNumber = 15 * MINUTES; pub const MaxCandidateIntake: u32 = 10; pub const SocietyPalletId: PalletId = PalletId(*b"py/socie");