mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 18:37:59 +00:00
polkadot: remove call filters on registrar pallets (#4093)
This commit is contained in:
committed by
GitHub
parent
9ca5f5e6fe
commit
4f12ec239d
@@ -167,9 +167,12 @@ impl Contains<Call> 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.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user