difftreelog
fix use xcm::v2 in storages
in: master
2 files changed
pallets/configuration/src/lib.rsdiffbeforeafterboth116116117 #[pallet::storage]117 #[pallet::storage]118 pub type XcmAllowedLocationsOverride<T: Config> = StorageValue<118 pub type XcmAllowedLocationsOverride<T: Config> = StorageValue<119 Value = BoundedVec<MultiLocation, T::MaxXcmAllowedLocations>,119 Value = BoundedVec<xcm::v2::MultiLocation, T::MaxXcmAllowedLocations>,120 QueryKind = OptionQuery,120 QueryKind = OptionQuery,121 >;121 >;122122pallets/foreign-assets/src/lib.rsdiffbeforeafterboth--- 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<T: Config> =
- 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<T: Config> =
- StorageMap<_, Twox64Concat, MultiLocation, ForeignAssetId, OptionQuery>;
+ StorageMap<_, Twox64Concat, xcm::v2::MultiLocation, ForeignAssetId, OptionQuery>;
/// The storages for AssetMetadatas.
///