Skip to content

Commit

Permalink
fix missing hook for enactment of approved democracy proposals
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Dec 9, 2024
1 parent db4bb53 commit f4e5cc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system-parachains/encointer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,8 @@ 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<Runtime>;
Expand Down

0 comments on commit f4e5cc5

Please sign in to comment.