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

Commit a1a9aa1

Browse files
committed
Set shorter duration for other variables
1 parent 8506aa6 commit a1a9aa1

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
@@ -756,7 +756,7 @@ impl pallet_collective::Config<CouncilCollective> for Runtime {
756756
}
757757

758758
parameter_types! {
759-
pub const CandidacyBond: Balance = 100 * DOLLARS;
759+
pub const CandidacyBond: Balance = 1 * DOLLARS;
760760
// 1 storage item created, key size is 32 bytes, value size is 16+16.
761761
pub const VotingBondBase: Balance = 1 * DOLLARS;
762762
pub const VotingBondFactor: Balance = 1 * DOLLARS;
@@ -826,7 +826,7 @@ impl pallet_membership::Config<pallet_membership::Instance1> for Runtime {
826826

827827
parameter_types! {
828828
pub const ProposalBond: Permill = Permill::from_percent(5);
829-
pub const ProposalBondMinimum: Balance = 100 * DOLLARS;
829+
pub const ProposalBondMinimum: Balance = 1 * DOLLARS;
830830
pub const SpendPeriod: BlockNumber = 5 * MINUTES;
831831
pub const Burn: Permill = Permill::from_percent(0);
832832
pub const TipCountdown: BlockNumber = 5 * MINUTES;
@@ -1102,12 +1102,12 @@ impl pallet_recovery::Config for Runtime {
11021102
}
11031103

11041104
parameter_types! {
1105-
pub const CandidateDeposit: Balance = 10 * DOLLARS;
1105+
pub const CandidateDeposit: Balance = 1 * DOLLARS;
11061106
pub const WrongSideDeduction: Balance = 2 * DOLLARS;
11071107
pub const MaxStrikes: u32 = 10;
11081108
pub const RotationPeriod: BlockNumber = 5 * MINUTES;
1109-
pub const PeriodSpend: Balance = 500 * DOLLARS;
1110-
pub const MaxLockDuration: BlockNumber = 36 * 30 * DAYS;
1109+
pub const PeriodSpend: Balance = 5 * DOLLARS;
1110+
pub const MaxLockDuration: BlockNumber = 70 * MINUTES;
11111111
pub const ChallengePeriod: BlockNumber = 15 * MINUTES;
11121112
pub const MaxCandidateIntake: u32 = 10;
11131113
pub const SocietyPalletId: PalletId = PalletId(*b"py/socie");

0 commit comments

Comments
 (0)