From 8a829ea38883963c0f5cebbbdf8d4e660f9b5d2b Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 25 Jan 2023 13:56:42 +0000 Subject: [PATCH] fix: use xcm::v2 in storages --- --- a/pallets/configuration/src/lib.rs +++ b/pallets/configuration/src/lib.rs @@ -116,7 +116,7 @@ #[pallet::storage] pub type XcmAllowedLocationsOverride = StorageValue< - Value = BoundedVec, + Value = BoundedVec, QueryKind = OptionQuery, >; --- a/pallets/foreign-assets/src/lib.rs +++ b/pallets/foreign-assets/src/lib.rs @@ -250,7 +250,7 @@ #[pallet::storage] #[pallet::getter(fn foreign_asset_locations)] pub type ForeignAssetLocations = - StorageMap<_, Twox64Concat, ForeignAssetId, MultiLocation, OptionQuery>; + StorageMap<_, Twox64Concat, ForeignAssetId, xcm::v2::MultiLocation, OptionQuery>; /// The storages for CurrencyIds. /// @@ -258,7 +258,7 @@ #[pallet::storage] #[pallet::getter(fn location_to_currency_ids)] pub type LocationToCurrencyIds = - StorageMap<_, Twox64Concat, MultiLocation, ForeignAssetId, OptionQuery>; + StorageMap<_, Twox64Concat, xcm::v2::MultiLocation, ForeignAssetId, OptionQuery>; /// The storages for AssetMetadatas. /// -- gitstuff