Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
fix: change xcm generics benchmark to use balances
Browse files Browse the repository at this point in the history
  • Loading branch information
metricaez committed Dec 18, 2023
1 parent efb2ccc commit b1e3473
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions runtime/trappist/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
);
}

Expand Down Expand Up @@ -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::<Runtime>;

let mut list = Vec::<BenchmarkList>::new();
list_benchmarks!(list, extra);

Expand Down Expand Up @@ -1261,9 +1256,6 @@ impl_runtime_apis! {
}
}


type XcmGeneric = pallet_xcm_benchmarks::generic::Pallet::<Runtime>;

use xcm_primitives::TrappistDropAssets;
use xcm::prelude::MultiLocation;
use crate::weights::TrappistDropAssetsWeigher;
Expand Down

0 comments on commit b1e3473

Please sign in to comment.