Fix xcm-builder mock (#7652)

* Fix xcm-builder mock

(preparation for monorepo)

The CI fails here when the runtime-benchmarks feature is enabled in the workspace.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update xcm/xcm-builder/Cargo.toml

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Oliver Tale-Yazdi
2023-08-22 17:12:13 +02:00
committed by GitHub
parent 26be0727e5
commit 7c45613d7e
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -42,6 +42,7 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks", "frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks", "frame-system/runtime-benchmarks",
"xcm-executor/runtime-benchmarks", "xcm-executor/runtime-benchmarks",
"pallet-assets/runtime-benchmarks",
] ]
std = [ std = [
"log/std", "log/std",
@@ -119,6 +119,8 @@ impl pallet_assets::Config for Test {
type RemoveItemsLimit = RemoveItemsLimit; type RemoveItemsLimit = RemoveItemsLimit;
type AssetIdParameter = AssetIdForAssets; type AssetIdParameter = AssetIdForAssets;
type CallbackHandle = (); type CallbackHandle = ();
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = ();
} }
parameter_types! { parameter_types! {