diff --git a/parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs b/parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs index a97c7677570..4eb123d6802 100644 --- a/parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs +++ b/parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs @@ -155,6 +155,9 @@ impl Contains for SafeCallFilter { RuntimeCall::DmpQueue(..) | RuntimeCall::Utility(pallet_utility::Call::as_derivative { .. }) | RuntimeCall::Alliance( + // `init_members` accepts unbounded vecs as arguments, + // but the call can be initiated only by root origin. + pallet_alliance::Call::init_members { .. } | pallet_alliance::Call::vote { .. } | pallet_alliance::Call::close_old_weight { .. } | pallet_alliance::Call::disband { .. } | @@ -175,7 +178,8 @@ impl Contains for SafeCallFilter { pallet_collective::Call::close_old_weight { .. } | pallet_collective::Call::disapprove_proposal { .. } | pallet_collective::Call::close { .. }, - ) => true, + ) | + RuntimeCall::PolkadotXcm(pallet_xcm::Call::force_xcm_version { .. }) => true, _ => false, } }