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.rsdiffbeforeafterboth250 #[pallet::storage]250 #[pallet::storage]251 #[pallet::getter(fn foreign_asset_locations)]251 #[pallet::getter(fn foreign_asset_locations)]252 pub type ForeignAssetLocations<T: Config> =252 pub type ForeignAssetLocations<T: Config> =253 StorageMap<_, Twox64Concat, ForeignAssetId, MultiLocation, OptionQuery>;253 StorageMap<_, Twox64Concat, ForeignAssetId, xcm::v2::MultiLocation, OptionQuery>;254254255 /// The storages for CurrencyIds.255 /// The storages for CurrencyIds.256 ///256 ///257 /// LocationToCurrencyIds: map MultiLocation => Option<ForeignAssetId>257 /// LocationToCurrencyIds: map MultiLocation => Option<ForeignAssetId>258 #[pallet::storage]258 #[pallet::storage]259 #[pallet::getter(fn location_to_currency_ids)]259 #[pallet::getter(fn location_to_currency_ids)]260 pub type LocationToCurrencyIds<T: Config> =260 pub type LocationToCurrencyIds<T: Config> =261 StorageMap<_, Twox64Concat, MultiLocation, ForeignAssetId, OptionQuery>;261 StorageMap<_, Twox64Concat, xcm::v2::MultiLocation, ForeignAssetId, OptionQuery>;262262263 /// The storages for AssetMetadatas.263 /// The storages for AssetMetadatas.264 ///264 ///