mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 13:25:44 +00:00
Add Xcm sender. (#2489)
* Add Xcm sender. * Rename XCM sender and add description. * Update copyright header. Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
@@ -61,7 +61,7 @@ use sp_core::OpaqueMetadata;
|
||||
use sp_staking::SessionIndex;
|
||||
use pallet_session::historical as session_historical;
|
||||
use frame_system::{EnsureRoot, EnsureOneOf, EnsureSigned};
|
||||
use runtime_common::{paras_sudo_wrapper, paras_registrar};
|
||||
use runtime_common::{paras_sudo_wrapper, paras_registrar, xcm_sender};
|
||||
|
||||
use runtime_parachains::origin as parachains_origin;
|
||||
use runtime_parachains::configuration as parachains_configuration;
|
||||
@@ -553,7 +553,7 @@ type LocalOriginConverter = (
|
||||
pub struct XcmConfig;
|
||||
impl xcm_executor::Config for XcmConfig {
|
||||
type Call = Call;
|
||||
type XcmSender = ();
|
||||
type XcmSender = xcm_sender::RelayChainXcmSender<Runtime>;
|
||||
type AssetTransactor = LocalAssetTransactor;
|
||||
type OriginConverter = LocalOriginConverter;
|
||||
type IsReserve = ();
|
||||
|
||||
Reference in New Issue
Block a user