From a42b32e39285a220cba90fc32cca6724ad66a9fc Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 16 Aug 2023 16:26:41 +0200 Subject: [PATCH] [Polkadot] 28 days as conviction voting period (#7595) * Use 28 days for conviction vote locking Signed-off-by: Oliver Tale-Yazdi * Remove unused dependency profile Signed-off-by: Oliver Tale-Yazdi --------- Signed-off-by: Oliver Tale-Yazdi --- polkadot/Cargo.toml | 1 - polkadot/runtime/polkadot/src/governance/mod.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/polkadot/Cargo.toml b/polkadot/Cargo.toml index 44cf027e35..dc42123a9f 100644 --- a/polkadot/Cargo.toml +++ b/polkadot/Cargo.toml @@ -166,7 +166,6 @@ crossbeam-deque = { opt-level = 3 } crypto-mac = { opt-level = 3 } curve25519-dalek = { opt-level = 3 } ed25519-dalek = { opt-level = 3 } -flate2 = { opt-level = 3 } futures-channel = { opt-level = 3 } hash-db = { opt-level = 3 } hashbrown = { opt-level = 3 } diff --git a/polkadot/runtime/polkadot/src/governance/mod.rs b/polkadot/runtime/polkadot/src/governance/mod.rs index 4cd9eeacd8..870d143dba 100644 --- a/polkadot/runtime/polkadot/src/governance/mod.rs +++ b/polkadot/runtime/polkadot/src/governance/mod.rs @@ -35,7 +35,7 @@ mod tracks; pub use tracks::TracksInfo; parameter_types! { - pub const VoteLockingPeriod: BlockNumber = 7 * DAYS; + pub const VoteLockingPeriod: BlockNumber = prod_or_fast!(28 * DAYS, 1); } impl pallet_conviction_voting::Config for Runtime {