Skip to content

Commit 229a3e3

Browse files
committed
1. Adjust the democracy and coucil related config params to enhance operation security
2. Bump the spec_version to 26
1 parent 4968b7b commit 229a3e3

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

runtime/src/lib.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
103103
spec_name: create_runtime_str!("crust"),
104104
impl_name: create_runtime_str!("crustio-crust"),
105105
authoring_version: 1,
106-
spec_version: 25,
106+
spec_version: 26,
107107
impl_version: 1,
108108
apis: RUNTIME_API_VERSIONS,
109109
transaction_version: 1
@@ -502,10 +502,10 @@ impl pallet_multisig::Config for Runtime {
502502
}
503503

504504
parameter_types! {
505-
pub const CandidacyBond: Balance = 10 * DOLLARS;
505+
pub const CandidacyBond: Balance = 10000 * DOLLARS;
506506
pub const VotingBondBase: Balance = 1 * DOLLARS;
507507
pub const VotingBondFactor: Balance = 10 * CENTS;
508-
pub const TermDuration: BlockNumber = 3 * DAYS;
508+
pub const TermDuration: BlockNumber = 14 * DAYS;
509509
pub const DesiredMembers: u32 = 13;
510510
pub const DesiredRunnersUp: u32 = 20;
511511
pub const ElectionsPhragmenModuleId: LockIdentifier = *b"phrelect";
@@ -611,15 +611,15 @@ impl pallet_membership::Config<pallet_membership::Instance1> for Runtime {
611611
}
612612

613613
parameter_types! {
614-
pub const LaunchPeriod: BlockNumber = 3 * DAYS;
614+
pub const LaunchPeriod: BlockNumber = 14 * DAYS;
615615
pub const VotingPeriod: BlockNumber = 7 * DAYS;
616616
pub const FastTrackVotingPeriod: BlockNumber = 3 * HOURS;
617617
pub const InstantAllowed: bool = true;
618-
pub const MinimumDeposit: Balance = 1 * DOLLARS;
618+
pub const MinimumDeposit: Balance = 10000 * DOLLARS;
619619
pub const EnactmentPeriod: BlockNumber = 7 * DAYS;
620-
pub const CooloffPeriod: BlockNumber = 7 * DAYS;
620+
pub const CooloffPeriod: BlockNumber = 28 * DAYS;
621621
// One cent: $100 / MB
622-
pub const PreimageByteDeposit: Balance = 10 * MILLICENTS;
622+
pub const PreimageByteDeposit: Balance = 100 * MILLICENTS;
623623
pub const MaxVotes: u32 = 100;
624624
pub const MaxProposals: u32 = 100;
625625
}

0 commit comments

Comments
 (0)