From c5868926361ae943942c6162cbbdaade2c5e0470 Mon Sep 17 00:00:00 2001 From: Florian Franzen Date: Mon, 8 Jul 2024 12:03:17 +0200 Subject: [PATCH] pallets: fix independet test build --- pallets/elections/Cargo.toml | 3 ++- pallets/networks/Cargo.toml | 5 +++-- pallets/shards/Cargo.toml | 1 + pallets/timegraph/Cargo.toml | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pallets/elections/Cargo.toml b/pallets/elections/Cargo.toml index d41ef8b60..73436a4c3 100644 --- a/pallets/elections/Cargo.toml +++ b/pallets/elections/Cargo.toml @@ -57,7 +57,8 @@ std = [ "sp-runtime/std", "sp-std/std", "frame-benchmarking?/std", - "time-primitives/std" + "time-primitives/std", + "pallet-balances/std" ] runtime-benchmarks = [ #"polkadot-sdk/runtime-benchmarks", diff --git a/pallets/networks/Cargo.toml b/pallets/networks/Cargo.toml index b8f704a4f..dcd04c20d 100644 --- a/pallets/networks/Cargo.toml +++ b/pallets/networks/Cargo.toml @@ -38,7 +38,7 @@ sp-io = { git = "https://github.com/analog-labs/polkadot-sdk", tag = "v1.13.0-pa [features] default = [ "std" ] std = [ - "scale-codec/std", + "scale-codec/std", "scale-info/std", #"polkadot-sdk/std", "frame-support/std", @@ -46,11 +46,12 @@ std = [ "sp-runtime/std", "frame-benchmarking?/std", "time-primitives/std", + "pallet-balances/std", ] runtime-benchmarks = [ #"polkadot-sdk/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", - "pallet-balances/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", ] try-runtime = [ #"polkadot-sdk/try-runtime" diff --git a/pallets/shards/Cargo.toml b/pallets/shards/Cargo.toml index d7c905b60..43cc4e060 100644 --- a/pallets/shards/Cargo.toml +++ b/pallets/shards/Cargo.toml @@ -55,6 +55,7 @@ std = [ "frame-benchmarking?/std", "schnorr-evm/std", "time-primitives/std", + "pallet-balances/std" ] runtime-benchmarks = [ #"polkadot-sdk/runtime-benchmarks", diff --git a/pallets/timegraph/Cargo.toml b/pallets/timegraph/Cargo.toml index 0ae51c6d3..c06814f14 100644 --- a/pallets/timegraph/Cargo.toml +++ b/pallets/timegraph/Cargo.toml @@ -40,6 +40,7 @@ std = [ "frame-support/std", "frame-system/std", "frame-benchmarking?/std", + "pallet-balances/std", ] runtime-benchmarks = [ #"polkadot-sdk/runtime-benchmarks",