git.delta.rocks / unique-network / refs/commits / 5ae285ceffc0

difftreelog

wip upd quartz

Ilja Khabarov2022-08-23parent: #bad3c4a.patch.diff
in: master

4 files changed

modifiedruntime/common/config/xcm.rsdiffbeforeafterboth
358#[cfg(feature = "foreign-assets")]358#[cfg(feature = "foreign-assets")]
359pub type AssetTransactors = FungiblesTransactor;359pub type AssetTransactors = FungiblesTransactor;
360360
361//#[cfg(not(feature = "foreign-assets"))]361#[cfg(not(feature = "foreign-assets"))]
362//pub type AssetTransactors = LocalAssetTransactor;362pub type AssetTransactors = LocalAssetTransactor;
363363
364#[cfg(feature = "foreign-assets")]364#[cfg(feature = "foreign-assets")]
365pub struct AllAsset;365pub struct AllAsset;
372372
373#[cfg(feature = "foreign-assets")]373#[cfg(feature = "foreign-assets")]
374pub type IsReserve = AllAsset;374pub type IsReserve = AllAsset;
375//#[cfg(not(feature = "foreign-assets"))]375#[cfg(not(feature = "foreign-assets"))]
376//pub type IsReserve = NativeAsset;376pub type IsReserve = NativeAsset;
377377
378#[cfg(feature = "foreign-assets")]378#[cfg(feature = "foreign-assets")]
379type Trader<T> =379type Trader<T> =
380 UsingAnyCurrencyComponents<380 UsingAnyCurrencyComponents<
381 pallet_configuration::WeightToFee<T, Balance>,381 pallet_configuration::WeightToFee<T, Balance>,
382 RelayLocation, AccountId, Balances, ()>;382 RelayLocation, AccountId, Balances, ()>;
383/*383#[cfg(not(feature = "foreign-assets"))]
384#[cfg(not(feature = "foreign-assets"))]384type Trader<T> = UsingOnlySelfCurrencyComponents<
385type Trader<T> = UsingOnlySelfCurrencyComponents<385 pallet_configuration::WeightToFee<T, Balance>,
386 pallet_configuration::WeightToFee<T, Balance>,386 RelayLocation,
387 RelayLocation,387 AccountId,
388 AccountId,388 Balances,
389 Balances,389 (),
390 (),390>;
391>;
392*/
393391
394pub struct XcmConfig<T>(PhantomData<T>);392pub struct XcmConfig<T>(PhantomData<T>);
395impl<T> Config for XcmConfig<T>393impl<T> Config for XcmConfig<T>
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
35#[path = "../../common/mod.rs"]35#[path = "../../common/mod.rs"]
36mod runtime_common;36mod runtime_common;
37
38pub mod xcm_config;
3739
38pub use runtime_common::*;40pub use runtime_common::*;
3941
addedruntime/quartz/src/xcm_config.rsdiffbeforeafterboth

no changes

addedruntime/unique/src/xcm_config.rsdiffbeforeafterboth

no syntactic changes