Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.

Commit 43272ad

Browse files
committed
Set shorter duration for other variables
1 parent 36a80cb commit 43272ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bin/node/runtime/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ impl pallet_collective::Config<CouncilCollective> for Runtime {
752752
}
753753

754754
parameter_types! {
755-
pub const CandidacyBond: Balance = 100 * DOLLARS;
755+
pub const CandidacyBond: Balance = 1 * DOLLARS;
756756
// 1 storage item created, key size is 32 bytes, value size is 16+16.
757757
pub const VotingBondBase: Balance = 1 * DOLLARS;
758758
pub const VotingBondFactor: Balance = 1 * DOLLARS;
@@ -822,7 +822,7 @@ impl pallet_membership::Config<pallet_membership::Instance1> for Runtime {
822822

823823
parameter_types! {
824824
pub const ProposalBond: Permill = Permill::from_percent(5);
825-
pub const ProposalBondMinimum: Balance = 100 * DOLLARS;
825+
pub const ProposalBondMinimum: Balance = 1 * DOLLARS;
826826
pub const SpendPeriod: BlockNumber = 5 * MINUTES;
827827
pub const Burn: Permill = Permill::from_percent(0);
828828
pub const TipCountdown: BlockNumber = 5 * MINUTES;
@@ -1098,12 +1098,12 @@ impl pallet_recovery::Config for Runtime {
10981098
}
10991099

11001100
parameter_types! {
1101-
pub const CandidateDeposit: Balance = 10 * DOLLARS;
1101+
pub const CandidateDeposit: Balance = 1 * DOLLARS;
11021102
pub const WrongSideDeduction: Balance = 2 * DOLLARS;
11031103
pub const MaxStrikes: u32 = 10;
11041104
pub const RotationPeriod: BlockNumber = 5 * MINUTES;
1105-
pub const PeriodSpend: Balance = 500 * DOLLARS;
1106-
pub const MaxLockDuration: BlockNumber = 36 * 30 * DAYS;
1105+
pub const PeriodSpend: Balance = 5 * DOLLARS;
1106+
pub const MaxLockDuration: BlockNumber = 70 * MINUTES;
11071107
pub const ChallengePeriod: BlockNumber = 15 * MINUTES;
11081108
pub const MaxCandidateIntake: u32 = 10;
11091109
pub const SocietyPalletId: PalletId = PalletId(*b"py/socie");

0 commit comments

Comments
 (0)