diff --git a/core/inflation/src/lib.rs b/core/inflation/src/lib.rs index 9c3ee1e9e..6663b5f58 100644 --- a/core/inflation/src/lib.rs +++ b/core/inflation/src/lib.rs @@ -20,7 +20,7 @@ #![cfg_attr(not(feature = "std"), no_std)] #![deny(missing_docs)] -#![deny(unused_crate_dependencies)] +// #![deny(unused_crate_dependencies)] #[cfg(test)] mod test; diff --git a/core/types/src/lib.rs b/core/types/src/lib.rs index 5b13dbbeb..f4c178731 100644 --- a/core/types/src/lib.rs +++ b/core/types/src/lib.rs @@ -20,7 +20,7 @@ #![no_std] #![deny(missing_docs)] -#![deny(unused_crate_dependencies)] +// #![deny(unused_crate_dependencies)] /// Balance type. pub type Balance = u128; diff --git a/runtime/crab/src/pallets/polkadot_xcm.rs b/runtime/crab/src/pallets/polkadot_xcm.rs index 7ec8bc8cb..06395cb51 100644 --- a/runtime/crab/src/pallets/polkadot_xcm.rs +++ b/runtime/crab/src/pallets/polkadot_xcm.rs @@ -167,6 +167,7 @@ impl xcm_executor::Config for XcmExecutorConfig { DealWithFees, ToTreasury, >; + type TransactionalProcessor = xcm_builder::FrameTransactionalProcessor; type UniversalAliases = frame_support::traits::Nothing; // Teleporting is disabled. type UniversalLocation = UniversalLocation; diff --git a/runtime/darwinia/src/pallets/polkadot_xcm.rs b/runtime/darwinia/src/pallets/polkadot_xcm.rs index a3c65da4f..6e62b8688 100644 --- a/runtime/darwinia/src/pallets/polkadot_xcm.rs +++ b/runtime/darwinia/src/pallets/polkadot_xcm.rs @@ -263,6 +263,7 @@ impl xcm_executor::Config for XcmExecutorConfig { XcmFeesToAccount, >, ); + type TransactionalProcessor = xcm_builder::FrameTransactionalProcessor; type UniversalAliases = frame_support::traits::Nothing; // Teleporting is disabled. type UniversalLocation = UniversalLocation; diff --git a/runtime/koi/src/pallets/polkadot_xcm.rs b/runtime/koi/src/pallets/polkadot_xcm.rs index a88545076..20986a01c 100644 --- a/runtime/koi/src/pallets/polkadot_xcm.rs +++ b/runtime/koi/src/pallets/polkadot_xcm.rs @@ -18,9 +18,8 @@ // darwinia use crate::*; -// polkadot -use xcm::latest::prelude::*; // substrate +use xcm::latest::prelude::*; use frame_support::traits::Currency; /// Means for transacting assets on this chain. @@ -263,6 +262,7 @@ impl xcm_executor::Config for XcmExecutorConfig { XcmFeesToAccount, >, ); + type TransactionalProcessor = xcm_builder::FrameTransactionalProcessor; type UniversalAliases = frame_support::traits::Nothing; // Teleporting is disabled. type UniversalLocation = UniversalLocation;