mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 01:07:57 +00:00
XCM: Add HRMP to SafeCallFilter (#6606)
* XCM: Add HRMP to SafeCallFilter * Whitelist several paras_registrar calls
This commit is contained in:
@@ -25,7 +25,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::{
|
||||
@@ -261,6 +261,14 @@ impl Contains<RuntimeCall> for SafeCallFilter {
|
||||
pallet_bounties::Call::close_bounty { .. },
|
||||
) |
|
||||
RuntimeCall::ChildBounties(..) |
|
||||
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