mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
XCM handler: make send origin configurable. (#346)
This commit is contained in:
@@ -46,7 +46,7 @@ pub use frame_support::{
|
||||
},
|
||||
StorageValue,
|
||||
};
|
||||
use frame_system::limits::{BlockLength, BlockWeights};
|
||||
use frame_system::{EnsureRoot, limits::{BlockLength, BlockWeights}};
|
||||
pub use pallet_balances::Call as BalancesCall;
|
||||
pub use pallet_timestamp::Call as TimestampCall;
|
||||
#[cfg(any(feature = "std", test))]
|
||||
@@ -289,6 +289,7 @@ impl cumulus_pallet_xcm_handler::Config for Runtime {
|
||||
type XcmExecutor = XcmExecutor<XcmConfig>;
|
||||
type UpwardMessageSender = ParachainSystem;
|
||||
type HrmpMessageSender = ParachainSystem;
|
||||
type SendXcmOrigin = EnsureRoot<AccountId>;
|
||||
}
|
||||
|
||||
construct_runtime! {
|
||||
|
||||
Reference in New Issue
Block a user