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 {