From 05ad89850f4e604bf28f048c1db1c8e7eaa8e45a Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Sat, 3 Feb 2024 11:28:51 +0100 Subject: [PATCH] fixed runtime-benchamrks build --- Cargo.toml | 2 +- polkadot-parachains/Cargo.toml | 6 +++--- polkadot-parachains/integritee-runtime/Cargo.toml | 3 +++ polkadot-parachains/shell-runtime/Cargo.toml | 1 + 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bc3bf562..60280150 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ clap = { version = "4.0.29", features = ["derive"] } parity-scale-codec = { version = "3.6.4", default-features = false, features = ["derive"] } color-print = "0.3.4" futures = "0.3.25" -getrandom = { version = "0.2", features = ["js"] } +getrandom = { version = "0.2", default-features = false, features = ["js"] } hex-literal = "0.3.4" log = { version = "0.4.17", default-features = false } scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index 0306ea37..b6319484 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -114,11 +114,11 @@ wait-timeout = { workspace = true } [features] default = [] runtime-benchmarks = [ - "try-runtime-cli/try-runtime", - "polkadot-service/runtime-benchmarks", "integritee-runtime/runtime-benchmarks", - "shell-runtime/runtime-benchmarks", "polkadot-cli/runtime-benchmarks", + "polkadot-service/runtime-benchmarks", + "shell-runtime/runtime-benchmarks", + "try-runtime-cli/try-runtime", ] fast-runtime = [ "polkadot-service/fast-runtime", diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index 9d09c9a6..c6642cdc 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -110,6 +110,7 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime/std", + "getrandom/std", "log/std", "orml-traits/std", "orml-xcm-support/std", @@ -169,6 +170,7 @@ runtime-benchmarks = [ "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "hex-literal", + "orml-xtokens/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-bounties/runtime-benchmarks", "pallet-child-bounties/runtime-benchmarks", @@ -188,6 +190,7 @@ runtime-benchmarks = [ "pallet-utility/runtime-benchmarks", "pallet-vesting/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "pallet-xcm-transactor/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "sp-runtime/runtime-benchmarks", diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index 03cba691..3cca66aa 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -84,6 +84,7 @@ std = [ "frame-support/std", "frame-system-rpc-runtime-api/std", "frame-system/std", + "getrandom/std", "log/std", "orml-traits/std", "orml-xcm-support/std",