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 929edfc commit 45f236b
Showing 1 changed file with 2 additions and 1 deletion.
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 45f236b

Please sign in to comment.