diff --git a/polkadot/xcm/pallet-xcm/Cargo.toml b/polkadot/xcm/pallet-xcm/Cargo.toml index 01fc74b09e..6116b16473 100644 --- a/polkadot/xcm/pallet-xcm/Cargo.toml +++ b/polkadot/xcm/pallet-xcm/Cargo.toml @@ -41,6 +41,5 @@ std = [ "xcm-executor/std", ] runtime-benchmarks = [ - "frame-system/runtime-benchmarks", - "xcm-builder/runtime-benchmarks", + "frame-system/runtime-benchmarks" ] diff --git a/polkadot/xcm/xcm-builder/Cargo.toml b/polkadot/xcm/xcm-builder/Cargo.toml index 4e785383e2..bf04f0efb9 100644 --- a/polkadot/xcm/xcm-builder/Cargo.toml +++ b/polkadot/xcm/xcm-builder/Cargo.toml @@ -29,7 +29,10 @@ pallet-xcm = { path = "../pallet-xcm" } polkadot-runtime-parachains = { path = "../../runtime/parachains" } [features] default = ["std"] -runtime-benchmarks = [] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks" +] std = [ "log/std", "parity-scale-codec/std",