@@ -68,7 +68,7 @@ pub use sp_runtime::BuildStorage;
68
68
use pallet_xcm:: { EnsureXcm , IsMajorityOfBody , XcmPassthrough } ;
69
69
use polkadot_parachain:: primitives:: Sibling ;
70
70
use polkadot_runtime_common:: { BlockHashCount , RocksDbWeight , SlowAdjustingFeeUpdate } ;
71
- use xcm:: v0 :: { BodyId , Junction , MultiAsset , MultiLocation , NetworkId , Xcm } ;
71
+ use xcm:: latest :: prelude :: * ;
72
72
use xcm_builder:: {
73
73
AccountId32Aliases , AllowTopLevelPaidExecutionFrom , AllowUnpaidExecutionFrom , CurrencyAdapter ,
74
74
EnsureXcmOrigin , FixedWeightBounds , IsConcrete , LocationInverter , NativeAsset ,
@@ -432,10 +432,10 @@ impl parachain_info::Config for Runtime {}
432
432
impl cumulus_pallet_aura_ext:: Config for Runtime { }
433
433
434
434
parameter_types ! {
435
- pub const DotLocation : MultiLocation = MultiLocation :: X1 ( Junction :: Parent ) ;
435
+ pub const DotLocation : MultiLocation = X1 ( Parent ) ;
436
436
pub const RelayNetwork : NetworkId = NetworkId :: Polkadot ;
437
437
pub RelayChainOrigin : Origin = cumulus_pallet_xcm:: Origin :: Relay . into( ) ;
438
- pub Ancestry : MultiLocation = Junction :: Parachain ( ParachainInfo :: parachain_id( ) . into( ) ) . into( ) ;
438
+ pub Ancestry : MultiLocation = Parachain ( ParachainInfo :: parachain_id( ) . into( ) ) . into( ) ;
439
439
}
440
440
441
441
/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used
@@ -495,8 +495,8 @@ parameter_types! {
495
495
496
496
match_type ! {
497
497
pub type ParentOrParentsExecutivePlurality : impl Contains <MultiLocation > = {
498
- MultiLocation :: X1 ( Junction :: Parent ) |
499
- MultiLocation :: X2 ( Junction :: Parent , Junction :: Plurality { id: BodyId :: Executive , .. } )
498
+ X1 ( Parent ) |
499
+ X2 ( Parent , Plurality { id: BodyId :: Executive , .. } )
500
500
} ;
501
501
}
502
502
@@ -534,7 +534,7 @@ pub type LocalOriginToLocation = SignedToAccountId32<Origin, AccountId, RelayNet
534
534
/// queues.
535
535
pub type XcmRouter = (
536
536
// Two routers - use UMP to communicate with the relay chain:
537
- cumulus_primitives_utility:: ParentAsUmp < ParachainSystem > ,
537
+ cumulus_primitives_utility:: ParentAsUmp < ParachainSystem , ( ) > ,
538
538
// ..and XCMP to communicate with the sibling chains.
539
539
XcmpQueue ,
540
540
) ;
@@ -561,6 +561,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime {
561
561
type Event = Event ;
562
562
type XcmExecutor = XcmExecutor < XcmConfig > ;
563
563
type ChannelInfo = ParachainSystem ;
564
+ type VersionWrapper = ( ) ;
564
565
}
565
566
566
567
impl cumulus_pallet_dmp_queue:: Config for Runtime {
0 commit comments