diff --git a/polkadot/runtime/kusama/src/lib.rs b/polkadot/runtime/kusama/src/lib.rs index 5a7dca5479..d09bf3fe61 100644 --- a/polkadot/runtime/kusama/src/lib.rs +++ b/polkadot/runtime/kusama/src/lib.rs @@ -144,13 +144,12 @@ pub fn native_version() -> NativeVersion { } } -/// Avoid processing transactions from slots and parachain registrar except by root. +/// Don't allow swaps until parathread story is more mature. pub struct BaseFilter; impl Filter for BaseFilter { fn filter(c: &Call) -> bool { !matches!(c, - Call::Registrar(..) | - Call::Slots(..) + Call::Registrar(paras_registrar::Call::swap(..)) ) } } diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index 3f95fbb687..c06e59ebf2 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -143,14 +143,11 @@ pub fn native_version() -> NativeVersion { } } -/// Avoid processing transactions from slots and parachain registrar except by root. +/// Allow everything. pub struct BaseFilter; impl Filter for BaseFilter { - fn filter(c: &Call) -> bool { - !matches!(c, - Call::Registrar(..) | - Call::Slots(..) - ) + fn filter(_: &Call) -> bool { + true } }