difftreelog
wip upd quartz
in: master
4 files changed
runtime/common/config/xcm.rsdiffbeforeafterboth--- a/runtime/common/config/xcm.rs
+++ b/runtime/common/config/xcm.rs
@@ -358,8 +358,8 @@
#[cfg(feature = "foreign-assets")]
pub type AssetTransactors = FungiblesTransactor;
-//#[cfg(not(feature = "foreign-assets"))]
-//pub type AssetTransactors = LocalAssetTransactor;
+#[cfg(not(feature = "foreign-assets"))]
+pub type AssetTransactors = LocalAssetTransactor;
#[cfg(feature = "foreign-assets")]
pub struct AllAsset;
@@ -372,15 +372,14 @@
#[cfg(feature = "foreign-assets")]
pub type IsReserve = AllAsset;
-//#[cfg(not(feature = "foreign-assets"))]
-//pub type IsReserve = NativeAsset;
+#[cfg(not(feature = "foreign-assets"))]
+pub type IsReserve = NativeAsset;
#[cfg(feature = "foreign-assets")]
type Trader<T> =
UsingAnyCurrencyComponents<
pallet_configuration::WeightToFee<T, Balance>,
RelayLocation, AccountId, Balances, ()>;
-/*
#[cfg(not(feature = "foreign-assets"))]
type Trader<T> = UsingOnlySelfCurrencyComponents<
pallet_configuration::WeightToFee<T, Balance>,
@@ -389,7 +388,6 @@
Balances,
(),
>;
-*/
pub struct XcmConfig<T>(PhantomData<T>);
impl<T> Config for XcmConfig<T>
runtime/quartz/src/lib.rsdiffbeforeafterboth--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -35,6 +35,8 @@
#[path = "../../common/mod.rs"]
mod runtime_common;
+pub mod xcm_config;
+
pub use runtime_common::*;
pub const RUNTIME_NAME: &str = "quartz";
runtime/quartz/src/xcm_config.rsdiffbeforeafterbothno changes
runtime/unique/src/xcm_config.rsdiffbeforeafterbothno changes