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

Commit

Permalink
Set shorter duration for other variables
Browse files Browse the repository at this point in the history
  • Loading branch information
MRamanenkau committed Oct 27, 2022
1 parent d0ccdf4 commit 40906b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/node/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ impl pallet_collective::Config<CouncilCollective> 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;
Expand Down Expand Up @@ -823,7 +823,7 @@ impl pallet_membership::Config<pallet_membership::Instance1> 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;
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 40906b2

Please sign in to comment.