diff --git a/CHANGELOG.md b/CHANGELOG.md index 0eff501227..3847c59f19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +- Fix missing Encointer democracy pallet hook needed for enactment ([polkadot-fellows/runtimes/pull/508](https://github.com/polkadot-fellows/runtimes/pull/508)) + ### Added - Location conversion tests for relays and parachains ([polkadot-fellows/runtimes#487](https://github.com/polkadot-fellows/runtimes/pull/487)) diff --git a/system-parachains/encointer/src/lib.rs b/system-parachains/encointer/src/lib.rs index 60f1054172..942df064e0 100644 --- a/system-parachains/encointer/src/lib.rs +++ b/system-parachains/encointer/src/lib.rs @@ -483,7 +483,9 @@ parameter_types! { impl pallet_encointer_scheduler::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type OnCeremonyPhaseChange = EncointerCeremonies; + // attention!: EncointerDemocracy must be first hook as it potentially changes the rules for + // following hooks + type OnCeremonyPhaseChange = (EncointerDemocracy, EncointerCeremonies); type MomentsPerDay = MomentsPerDay; type CeremonyMaster = MoreThanHalfCouncil; type WeightInfo = weights::pallet_encointer_scheduler::WeightInfo;