Skip to content

Commit

Permalink
Companion for paritytech/substrate#11631 (#1363)
Browse files Browse the repository at this point in the history
  • Loading branch information
KiChjang authored Jun 16, 2022
1 parent 50fc05a commit 5331a74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtimes/assets/westmint/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 5331a74

Please sign in to comment.