diff --git a/runtime/trappist/src/lib.rs b/runtime/trappist/src/lib.rs index ed75be30..49715bd5 100644 --- a/runtime/trappist/src/lib.rs +++ b/runtime/trappist/src/lib.rs @@ -849,7 +849,7 @@ mod benches { // XCM // NOTE: Make sure you point to the individual modules below. [pallet_xcm_benchmarks::fungible, Balances] - [pallet_xcm_benchmarks::generic, XcmGeneric] + [pallet_xcm_benchmarks::generic, Balances] ); } @@ -1108,11 +1108,6 @@ impl_runtime_apis! { use frame_system_benchmarking::Pallet as SystemBench; use cumulus_pallet_session_benchmarking::Pallet as SessionBench; - // This is defined once again in dispatch_benchmark, because list_benchmarks! - // and add_benchmarks! are macros exported by define_benchmarks! macros and those types - // are referenced in that call. - type XcmGeneric = pallet_xcm_benchmarks::generic::Pallet::; - let mut list = Vec::::new(); list_benchmarks!(list, extra); @@ -1261,9 +1256,6 @@ impl_runtime_apis! { } } - - type XcmGeneric = pallet_xcm_benchmarks::generic::Pallet::; - use xcm_primitives::TrappistDropAssets; use xcm::prelude::MultiLocation; use crate::weights::TrappistDropAssetsWeigher;