polkadot: remove call filters on registrar pallets (#4093)

This commit is contained in:
Robert Habermeier
2021-10-18 00:03:33 -05:00
committed by GitHub
parent 9ca5f5e6fe
commit 4f12ec239d
+6 -3
View File
@@ -167,9 +167,12 @@ impl Contains<Call> for BaseFilter {
Call::Dmp(_) | Call::Dmp(_) |
Call::Ump(_) | Call::Ump(_) |
Call::Hrmp(_) | Call::Hrmp(_) |
Call::Slots(_) => true, Call::Slots(_) |
// Disable paras registration, crowdloans, and auctions for now. Call::Registrar(_) |
Call::Registrar(_) | Call::Auctions(_) | Call::Crowdloan(_) => false, Call::Auctions(_) |
Call::Crowdloan(_) => true,
// All pallets are allowed, but exhaustive match is defensive
// in the case of adding new pallets.
} }
} }
} }