Skip to content

Commit

Permalink
added new proxy ParaRegistration to Westend
Browse files Browse the repository at this point in the history
  • Loading branch information
SBalaguer committed Dec 24, 2024
1 parent ca78179 commit d0d2968
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions polkadot/runtime/westend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,7 @@ pub enum ProxyType {
CancelProxy,
Auction,
NominationPools,
ParaRegistration
}
impl Default for ProxyType {
fn default() -> Self {
Expand Down Expand Up @@ -1180,6 +1181,13 @@ impl InstanceFilter<RuntimeCall> for ProxyType {
RuntimeCall::Registrar(..) |
RuntimeCall::Slots(..)
),
ProxyType::ParaRegistration => matches!(
c,
RuntimeCall::Registrar(paras_registrar::Call::reserve { .. }) |
RuntimeCall::Registrar(paras_registrar::Call::register { .. }) |
RuntimeCall::Utility(..) |
RuntimeCall::Proxy(pallet_proxy::Call::remove_proxy { .. })
),
}
}
fn is_superset(&self, o: &Self) -> bool {
Expand Down

0 comments on commit d0d2968

Please sign in to comment.