mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
XCM: Add HRMP to SafeCallFilter (#6606)
* XCM: Add HRMP to SafeCallFilter * Whitelist several paras_registrar calls
This commit is contained in:
@@ -26,7 +26,7 @@ use frame_support::{
|
||||
traits::{Contains, Everything, Nothing},
|
||||
weights::Weight,
|
||||
};
|
||||
use runtime_common::{xcm_sender, ToAuthor};
|
||||
use runtime_common::{paras_registrar, xcm_sender, ToAuthor};
|
||||
use sp_core::ConstU32;
|
||||
use xcm::latest::prelude::*;
|
||||
use xcm_builder::{
|
||||
@@ -326,6 +326,14 @@ impl Contains<RuntimeCall> for SafeCallFilter {
|
||||
pallet_nomination_pools::Call::update_roles { .. } |
|
||||
pallet_nomination_pools::Call::chill { .. },
|
||||
) |
|
||||
RuntimeCall::Hrmp(..) |
|
||||
RuntimeCall::Registrar(
|
||||
paras_registrar::Call::deregister { .. } |
|
||||
paras_registrar::Call::swap { .. } |
|
||||
paras_registrar::Call::remove_lock { .. } |
|
||||
paras_registrar::Call::reserve { .. } |
|
||||
paras_registrar::Call::add_lock { .. },
|
||||
) |
|
||||
RuntimeCall::XcmPallet(pallet_xcm::Call::limited_reserve_transfer_assets {
|
||||
..
|
||||
}) => true,
|
||||
|
||||
Reference in New Issue
Block a user