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

Commit 36a80cb

Browse files
Andrei NavoichykMRamanenkau
authored andcommitted
Set shorted duration
1 parent 21c89b1 commit 36a80cb

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

bin/node/runtime/src/lib.rs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -673,12 +673,12 @@ impl pallet_bags_list::Config for Runtime {
673673
}
674674

675675
parameter_types! {
676-
pub const LaunchPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
677-
pub const VotingPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
678-
pub const FastTrackVotingPeriod: BlockNumber = 3 * 60 * MINUTES;
679-
pub const MinimumDeposit: Balance = 5000 * DOLLARS;
680-
pub const EnactmentPeriod: BlockNumber = 1 * 24 * 60 * MINUTES;
681-
pub const CooloffPeriod: BlockNumber = 7 * 24 * 60 * MINUTES;
676+
pub const LaunchPeriod: BlockNumber = 5 * MINUTES;
677+
pub const VotingPeriod: BlockNumber = 5 * MINUTES;
678+
pub const FastTrackVotingPeriod: BlockNumber = 5 * MINUTES;
679+
pub const MinimumDeposit: Balance = 10 * DOLLARS;
680+
pub const EnactmentPeriod: BlockNumber = 5 * MINUTES;
681+
pub const CooloffPeriod: BlockNumber = 5 * MINUTES;
682682
pub const MaxProposals: u32 = 100;
683683
}
684684

@@ -734,7 +734,7 @@ impl pallet_democracy::Config for Runtime {
734734
}
735735

736736
parameter_types! {
737-
pub const CouncilMotionDuration: BlockNumber = 7 * DAYS;
737+
pub const CouncilMotionDuration: BlockNumber = 5 * MINUTES;
738738
pub const CouncilMaxProposals: u32 = 100;
739739
pub const CouncilMaxMembers: u32 = 100;
740740
}
@@ -754,9 +754,9 @@ impl pallet_collective::Config<CouncilCollective> for Runtime {
754754
parameter_types! {
755755
pub const CandidacyBond: Balance = 100 * DOLLARS;
756756
// 1 storage item created, key size is 32 bytes, value size is 16+16.
757-
pub const VotingBondBase: Balance = deposit(1, 64);
757+
pub const VotingBondBase: Balance = 1 * DOLLARS;
758758
pub const VotingBondFactor: Balance = 1 * DOLLARS;
759-
pub const TermDuration: BlockNumber = 7 * DAYS;
759+
pub const TermDuration: BlockNumber = 5 * MINUTES;
760760
pub const DesiredMembers: u32 = 13;
761761
pub const DesiredRunnersUp: u32 = 20;
762762
pub const ElectionsPhragmenPalletId: LockIdentifier = *b"phrelect";
@@ -786,7 +786,7 @@ impl pallet_elections_phragmen::Config for Runtime {
786786
}
787787

788788
parameter_types! {
789-
pub const TechnicalMotionDuration: BlockNumber = 5 * DAYS;
789+
pub const TechnicalMotionDuration: BlockNumber = 5 * MINUTES;
790790
pub const TechnicalMaxProposals: u32 = 100;
791791
pub const TechnicalMaxMembers: u32 = 100;
792792
}
@@ -823,16 +823,16 @@ impl pallet_membership::Config<pallet_membership::Instance1> for Runtime {
823823
parameter_types! {
824824
pub const ProposalBond: Permill = Permill::from_percent(5);
825825
pub const ProposalBondMinimum: Balance = 100 * DOLLARS;
826-
pub const SpendPeriod: BlockNumber = 1 * DAYS;
826+
pub const SpendPeriod: BlockNumber = 5 * MINUTES;
827827
pub const Burn: Permill = Permill::from_percent(0);
828-
pub const TipCountdown: BlockNumber = 1 * DAYS;
828+
pub const TipCountdown: BlockNumber = 5 * MINUTES;
829829
pub const TipFindersFee: Percent = Percent::from_percent(20);
830830
pub const TipReportDepositBase: Balance = 1 * DOLLARS;
831831
pub const DataDepositPerByte: Balance = 1 * CENTS;
832832
pub const BountyDepositBase: Balance = 1 * DOLLARS;
833-
pub const BountyDepositPayoutDelay: BlockNumber = 8 * DAYS;
833+
pub const BountyDepositPayoutDelay: BlockNumber = 5 * MINUTES;
834834
pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry");
835-
pub const BountyUpdatePeriod: BlockNumber = 90 * DAYS;
835+
pub const BountyUpdatePeriod: BlockNumber = 60 * MINUTES;
836836
pub const MaximumReasonLength: u32 = 16384;
837837
pub const BountyCuratorDeposit: Permill = Permill::from_percent(50);
838838
pub const BountyValueMinimum: Balance = 10 * DOLLARS;
@@ -1101,10 +1101,10 @@ parameter_types! {
11011101
pub const CandidateDeposit: Balance = 10 * DOLLARS;
11021102
pub const WrongSideDeduction: Balance = 2 * DOLLARS;
11031103
pub const MaxStrikes: u32 = 10;
1104-
pub const RotationPeriod: BlockNumber = 80 * HOURS;
1104+
pub const RotationPeriod: BlockNumber = 5 * MINUTES;
11051105
pub const PeriodSpend: Balance = 500 * DOLLARS;
11061106
pub const MaxLockDuration: BlockNumber = 36 * 30 * DAYS;
1107-
pub const ChallengePeriod: BlockNumber = 7 * DAYS;
1107+
pub const ChallengePeriod: BlockNumber = 15 * MINUTES;
11081108
pub const MaxCandidateIntake: u32 = 10;
11091109
pub const SocietyPalletId: PalletId = PalletId(*b"py/socie");
11101110
}

0 commit comments

Comments
 (0)