From 858e5c275d211f340b30c01bcb90ab0c7e6d1d47 Mon Sep 17 00:00:00 2001 From: Giles Cope Date: Thu, 2 Sep 2021 20:12:44 +0100 Subject: [PATCH 1/2] Companion PR to substrate 9641 --- runtime/kusama/src/lib.rs | 1 + runtime/polkadot/src/lib.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 036b8ab392fb..4ebabf4e64a4 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -526,6 +526,7 @@ impl pallet_democracy::Config for Runtime { type Event = Event; type Currency = Balances; type EnactmentPeriod = EnactmentPeriod; + type VoteLockingPeriod = EnactmentPeriod; type LaunchPeriod = LaunchPeriod; type VotingPeriod = VotingPeriod; type MinimumDeposit = MinimumDeposit; diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 8e5eb2776856..23955ce8e757 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -511,7 +511,8 @@ impl pallet_democracy::Config for Runtime { type Event = Event; type Currency = Balances; type EnactmentPeriod = EnactmentPeriod; - type LaunchPeriod = LaunchPeriod; + type VoteLockingPeriod = EnactmentPeriod; + type LaunchPeriod = LaunchPeriod; type VotingPeriod = VotingPeriod; type MinimumDeposit = MinimumDeposit; /// A straight majority of the council can decide what their next motion is. From 43a4d1d2eda1483188a0b0abdfda3630b7fe6c2e Mon Sep 17 00:00:00 2001 From: Giles Cope Date: Thu, 2 Sep 2021 20:20:05 +0100 Subject: [PATCH 2/2] whitespace for whitespace change. --- runtime/polkadot/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 23955ce8e757..554424fd9e24 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -512,7 +512,7 @@ impl pallet_democracy::Config for Runtime { type Currency = Balances; type EnactmentPeriod = EnactmentPeriod; type VoteLockingPeriod = EnactmentPeriod; - type LaunchPeriod = LaunchPeriod; + type LaunchPeriod = LaunchPeriod; type VotingPeriod = VotingPeriod; type MinimumDeposit = MinimumDeposit; /// A straight majority of the council can decide what their next motion is.