Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
[Polkadot] 28 days as conviction voting period (#7595)
Browse files Browse the repository at this point in the history
* Use 28 days for conviction vote locking

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

* Remove unused dependency profile

Signed-off-by: Oliver Tale-Yazdi <[email protected]>

---------

Signed-off-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
ggwpez committed Aug 16, 2023
1 parent 2157c2f commit d73503c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion runtime/polkadot/src/governance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d73503c

Please sign in to comment.