Unverified Commit b3d59c26 authored by asynchronous rob's avatar asynchronous rob Committed by GitHub
Browse files

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

parent 0f2a61e7
Pipeline #162487 passed with stages
in 38 minutes and 46 seconds
......@@ -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.
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment