From d0d2968895159b052f485048a9f7a2c7a9b008c7 Mon Sep 17 00:00:00 2001 From: Santiago Balaguer Date: Tue, 24 Dec 2024 14:43:37 +0100 Subject: [PATCH] added new proxy ParaRegistration to Westend --- polkadot/runtime/westend/src/lib.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index cd8eb4d2505a..d09454988780 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -1084,6 +1084,7 @@ pub enum ProxyType { CancelProxy, Auction, NominationPools, + ParaRegistration } impl Default for ProxyType { fn default() -> Self { @@ -1180,6 +1181,13 @@ impl InstanceFilter 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 {