Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
polkadot: remove call filters on registrar pallets (#4093)
Browse files Browse the repository at this point in the history
  • Loading branch information
rphmeier committed Oct 18, 2021
1 parent 0f2a61e commit b3d59c2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions runtime/polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
}
}
Expand Down

0 comments on commit b3d59c2

Please sign in to comment.