Skip to content

Commit

Permalink
Restore governance lock periods to 7 days in Polkadot (#86)
Browse files Browse the repository at this point in the history
This is a revert of
paritytech/polkadot@d73503c
which has not been released.

Deploying without this change would lead to referendum participants and
delegates having their tokens locked for 4 times longer than expected.

Participants in any referendums ending after the runtime upgrade is
applied would be affected.
Even more of an issue is delegates, where all current delegates would be
affected by 4 times longer lock up issues. The affected user-base is
enormous, and there is little to no possibility of reaching all these
users to get them to adapt in time.

Although a 7 Day lock multiplier wasn't the originally intended target
for Polkadot, breaking user expectations with this change is an even
larger issue.

---------

Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
3 people committed Nov 14, 2023
1 parent dd7f86f commit 5d98c2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Changelog for the runtimes governed by the Polkadot Fellowship.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [1.0.1] 22.10.2023

### Changed

- Restore governance lock periods to 7 days in Polkadot ([polkadot-fellows/runtimes#86](https://github.com/polkadot-fellows/runtimes/pull/86))

## [1.0.0] 22.10.2023

### Changed
Expand Down
2 changes: 1 addition & 1 deletion relay/polkadot/src/governance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ mod tracks;
pub use tracks::TracksInfo;

parameter_types! {
pub const VoteLockingPeriod: BlockNumber = prod_or_fast!(28 * DAYS, 1);
pub const VoteLockingPeriod: BlockNumber = prod_or_fast!(7 * DAYS, 1);
}

impl pallet_conviction_voting::Config for Runtime {
Expand Down

0 comments on commit 5d98c2e

Please sign in to comment.