Companion for paritytech/substrate#11631 (#1363)

This commit is contained in:
Keith Yeung authored and GitHub committed 2022-06-16 17:36:19 +00:00
1 parent 7319a16ec8
commit d577099011
1 file changed
+2 -1
@@ -42,7 +42,8 @@ use xcm_executor::{traits::JustTry, XcmExecutor};
parameter_types! {
pub const WestendLocation: MultiLocation = MultiLocation::parent();
pub RelayNetwork: NetworkId = NetworkId::Named(b"Westend".to_vec());
pub RelayNetwork: NetworkId =
NetworkId::Named(b"Westend".to_vec().try_into().expect("less than length limit; qed"));
pub RelayChainOrigin: Origin = cumulus_pallet_xcm::Origin::Relay.into();
pub Ancestry: MultiLocation = Parachain(ParachainInfo::parachain_id().into()).into();
pub const Local: MultiLocation = Here.into();