From cf3ed54750642e456534e4c8d4e442e9148f73ff Mon Sep 17 00:00:00 2001 From: Harald Heckmann Date: Fri, 8 Jul 2022 20:39:26 +0200 Subject: [PATCH 1/3] Expose AuthorFilter Call enum --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index b90580ad4..9562f018d 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -232,7 +232,7 @@ macro_rules! create_zeitgeist_runtime_with_additional_pallets { // Consensus ParachainStaking: parachain_staking::{Call, Config, Event, Pallet, Storage} = 110, AuthorInherent: pallet_author_inherent::{Call, Inherent, Pallet, Storage} = 111, - AuthorFilter: pallet_author_slot_filter::{Config, Event, Pallet, Storage} = 112, + AuthorFilter: pallet_author_slot_filter::{Config, Call, Event, Pallet, Storage} = 112, AuthorMapping: pallet_author_mapping::{Call, Config, Event, Pallet, Storage} = 113, // XCM From eef691f9adad1029dbe6b5b489c9a827a570f44a Mon Sep 17 00:00:00 2001 From: Harald Heckmann Date: Fri, 8 Jul 2022 20:42:03 +0200 Subject: [PATCH 2/3] Maintain lexographical ordering --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 9562f018d..e8a7e4447 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -232,7 +232,7 @@ macro_rules! create_zeitgeist_runtime_with_additional_pallets { // Consensus ParachainStaking: parachain_staking::{Call, Config, Event, Pallet, Storage} = 110, AuthorInherent: pallet_author_inherent::{Call, Inherent, Pallet, Storage} = 111, - AuthorFilter: pallet_author_slot_filter::{Config, Call, Event, Pallet, Storage} = 112, + AuthorFilter: pallet_author_slot_filter::{Call, Config, Event, Pallet, Storage} = 112, AuthorMapping: pallet_author_mapping::{Call, Config, Event, Pallet, Storage} = 113, // XCM From 6d8a2db2bbe9d8c2c961d0e9246a7f215af89f2e Mon Sep 17 00:00:00 2001 From: Harald Heckmann Date: Sat, 9 Jul 2022 07:42:17 +0200 Subject: [PATCH 3/3] Add AuthorFilter to Call filter --- runtime/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index e8a7e4447..a4ee8d126 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -320,6 +320,7 @@ cfg_if::cfg_if! { Call::AdvisoryCommittee(_) | Call::AdvisoryCommitteeMembership(_) | Call::AuthorInherent(_) + | Call::AuthorFilter(_) | Call::AuthorMapping(_) | Call::Balances(_) | Call::Council(_)