Allow operational recovery path if on_initialize use fullblock. (#6089)

* note_preimage using operational

* Update frame/democracy/src/lib.rs

Co-authored-by: Gavin Wood <gavin@parity.io>
This commit is contained in:
thiolliere
2020-05-21 13:51:47 +02:00
committed by GitHub
parent 6c47b130e8
commit b50c3338d6
4 changed files with 138 additions and 67 deletions
+1
View File
@@ -378,6 +378,7 @@ impl pallet_democracy::Trait for Runtime {
type VetoOrigin = pallet_collective::EnsureMember<AccountId, TechnicalCollective>;
type CooloffPeriod = CooloffPeriod;
type PreimageByteDeposit = PreimageByteDeposit;
type OperationalPreimageOrigin = pallet_collective::EnsureMember<AccountId, CouncilCollective>;
type Slash = Treasury;
type Scheduler = Scheduler;
type MaxVotes = MaxVotes;