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

Commit 0a39389

Browse files
Andrei NavoichykMRamanenkau
authored andcommitted
Set shorted duration
1 parent fccb8e7 commit 0a39389

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

bin/node/runtime/src/lib.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -677,12 +677,12 @@ impl pallet_bags_list::Config for Runtime {
677677
}
678678

679679
parameter_types! {
680-
pub const LaunchPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
681-
pub const VotingPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
682-
pub const FastTrackVotingPeriod: BlockNumber = 3 * 60 * MINUTES;
683-
pub const MinimumDeposit: Balance = 5000 * DOLLARS;
684-
pub const EnactmentPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
685-
pub const CooloffPeriod: BlockNumber = 7 * 24 * 60 * MINUTES;
680+
pub const LaunchPeriod: BlockNumber = 5 * MINUTES;
681+
pub const VotingPeriod: BlockNumber = 5 * MINUTES;
682+
pub const FastTrackVotingPeriod: BlockNumber = 5 * MINUTES;
683+
pub const MinimumDeposit: Balance = 10 * DOLLARS;
684+
pub const EnactmentPeriod: BlockNumber = 5 * MINUTES;
685+
pub const CooloffPeriod: BlockNumber = 5 * MINUTES;
686686
pub const MaxProposals: u32 = 100;
687687
}
688688

@@ -738,7 +738,7 @@ impl pallet_democracy::Config for Runtime {
738738
}
739739

740740
parameter_types! {
741-
pub const CouncilMotionDuration: BlockNumber = 7 * DAYS;
741+
pub const CouncilMotionDuration: BlockNumber = 5 * MINUTES;
742742
pub const CouncilMaxProposals: u32 = 100;
743743
pub const CouncilMaxMembers: u32 = 100;
744744
}
@@ -760,7 +760,7 @@ parameter_types! {
760760
// 1 storage item created, key size is 32 bytes, value size is 16+16.
761761
pub const VotingBondBase: Balance = deposit(1, 64);
762762
pub const VotingBondFactor: Balance = 1 * DOLLARS;
763-
pub const TermDuration: BlockNumber = 7 * DAYS;
763+
pub const TermDuration: BlockNumber = 5 * MINUTES;
764764
pub const DesiredMembers: u32 = 13;
765765
pub const DesiredRunnersUp: u32 = 20;
766766
pub const ElectionsPhragmenPalletId: LockIdentifier = *b"phrelect";
@@ -790,7 +790,7 @@ impl pallet_elections_phragmen::Config for Runtime {
790790
}
791791

792792
parameter_types! {
793-
pub const TechnicalMotionDuration: BlockNumber = 5 * DAYS;
793+
pub const TechnicalMotionDuration: BlockNumber = 5 * MINUTES;
794794
pub const TechnicalMaxProposals: u32 = 100;
795795
pub const TechnicalMaxMembers: u32 = 100;
796796
}
@@ -827,14 +827,14 @@ impl pallet_membership::Config<pallet_membership::Instance1> for Runtime {
827827
parameter_types! {
828828
pub const ProposalBond: Permill = Permill::from_percent(5);
829829
pub const ProposalBondMinimum: Balance = 100 * DOLLARS;
830-
pub const SpendPeriod: BlockNumber = 1 * DAYS;
830+
pub const SpendPeriod: BlockNumber = 5 * MINUTES;
831831
pub const Burn: Permill = Permill::from_percent(0);
832-
pub const TipCountdown: BlockNumber = 1 * DAYS;
832+
pub const TipCountdown: BlockNumber = 5 * MINUTES;
833833
pub const TipFindersFee: Percent = Percent::from_percent(20);
834834
pub const TipReportDepositBase: Balance = 1 * DOLLARS;
835835
pub const DataDepositPerByte: Balance = 1 * CENTS;
836836
pub const BountyDepositBase: Balance = 1 * DOLLARS;
837-
pub const BountyDepositPayoutDelay: BlockNumber = 8 * DAYS;
837+
pub const BountyDepositPayoutDelay: BlockNumber = 5 * MINUTES;
838838
pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry");
839839
pub const BountyUpdatePeriod: BlockNumber = 90 * DAYS;
840840
pub const MaximumReasonLength: u32 = 16384;
@@ -1105,10 +1105,10 @@ parameter_types! {
11051105
pub const CandidateDeposit: Balance = 10 * DOLLARS;
11061106
pub const WrongSideDeduction: Balance = 2 * DOLLARS;
11071107
pub const MaxStrikes: u32 = 10;
1108-
pub const RotationPeriod: BlockNumber = 80 * HOURS;
1108+
pub const RotationPeriod: BlockNumber = 5 * MINUTES;
11091109
pub const PeriodSpend: Balance = 500 * DOLLARS;
11101110
pub const MaxLockDuration: BlockNumber = 36 * 30 * DAYS;
1111-
pub const ChallengePeriod: BlockNumber = 7 * DAYS;
1111+
pub const ChallengePeriod: BlockNumber = 15 * MINUTES;
11121112
pub const MaxCandidateIntake: u32 = 10;
11131113
pub const SocietyPalletId: PalletId = PalletId(*b"py/socie");
11141114
}

0 commit comments

Comments
 (0)