mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 09:21:05 +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::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.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user