From b3d59c266af8fed1a19deff5367c49d4516e4f47 Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Mon, 18 Oct 2021 00:03:33 -0500 Subject: [PATCH] polkadot: remove call filters on registrar pallets (#4093) --- runtime/polkadot/src/lib.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index c43fbcb85393..8f0c587882f1 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -167,9 +167,12 @@ impl Contains for BaseFilter { Call::Dmp(_) | Call::Ump(_) | Call::Hrmp(_) | - Call::Slots(_) => true, - // Disable paras registration, crowdloans, and auctions for now. - Call::Registrar(_) | Call::Auctions(_) | Call::Crowdloan(_) => false, + Call::Slots(_) | + Call::Registrar(_) | + Call::Auctions(_) | + Call::Crowdloan(_) => true, + // All pallets are allowed, but exhaustive match is defensive + // in the case of adding new pallets. } } }