[Polkadot] 28 days as conviction voting period (#7595)

* Use 28 days for conviction vote locking

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Remove unused dependency profile

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2023-08-16 16:26:41 +02:00
committed by GitHub
parent d501d92176
commit a42b32e392
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -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 }
@@ -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 {