difftreelog
fix limit nesting for XCM transfers
in: master
1 file changed
pallets/foreign-assets/src/impl_fungibles.rsdiffbeforeafterboth23use pallet_common::CollectionHandle;23use pallet_common::CollectionHandle;24use pallet_fungible::FungibleHandle;24use pallet_fungible::FungibleHandle;25use pallet_common::CommonCollectionOperations;25use pallet_common::CommonCollectionOperations;26use up_data_structs::budget::Unlimited;26use up_data_structs::budget::Value;27use sp_runtime::traits::{CheckedAdd, CheckedSub};27use sp_runtime::traits::{CheckedAdd, CheckedSub};282829impl<T: Config> fungibles::Inspect<<T as SystemConfig>::AccountId> for Pallet<T>29impl<T: Config> fungibles::Inspect<<T as SystemConfig>::AccountId> for Pallet<T>313 &collection,313 &collection,314 &account,314 &account,315 amount_data,315 amount_data,316 &Unlimited,316 &Value::new(0),317 )?;317 )?;318318319 Ok(())319 Ok(())444 &T::CrossAccountId::from_sub(source.clone()),444 &T::CrossAccountId::from_sub(source.clone()),445 &T::CrossAccountId::from_sub(dest.clone()),445 &T::CrossAccountId::from_sub(dest.clone()),446 amount.into(),446 amount.into(),447 &Unlimited,447 &Value::new(0),448 )?;448 )?;449449450 Ok(amount)450 Ok(amount)