From a6ee76a769058f51860aabdc337e23e8791cc0c0 Mon Sep 17 00:00:00 2001 From: Serban Iorga Date: Wed, 4 Jan 2023 23:27:25 +0200 Subject: [PATCH] Fix `polkadot-runtime-constants` std build (#6503) * Fix polkadot-runtime-constants std build * Fix kusama, rococo and westend constants std build * Code review fixes --- polkadot/runtime/kusama/constants/Cargo.toml | 3 +++ polkadot/runtime/polkadot/constants/Cargo.toml | 3 +++ polkadot/runtime/rococo/constants/Cargo.toml | 3 +++ polkadot/runtime/westend/constants/Cargo.toml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/polkadot/runtime/kusama/constants/Cargo.toml b/polkadot/runtime/kusama/constants/Cargo.toml index d24fc3b4be..6d5dc40658 100644 --- a/polkadot/runtime/kusama/constants/Cargo.toml +++ b/polkadot/runtime/kusama/constants/Cargo.toml @@ -17,6 +17,9 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = [features] default = ["std"] std = [ + "frame-support/std", + "primitives/std", + "runtime-common/std", "sp-core/std", "sp-runtime/std", "sp-weights/std" diff --git a/polkadot/runtime/polkadot/constants/Cargo.toml b/polkadot/runtime/polkadot/constants/Cargo.toml index c6b3bed8dc..ad8159e746 100644 --- a/polkadot/runtime/polkadot/constants/Cargo.toml +++ b/polkadot/runtime/polkadot/constants/Cargo.toml @@ -17,6 +17,9 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = [features] default = ["std"] std = [ + "frame-support/std", + "primitives/std", + "runtime-common/std", "sp-core/std", "sp-runtime/std", "sp-weights/std" diff --git a/polkadot/runtime/rococo/constants/Cargo.toml b/polkadot/runtime/rococo/constants/Cargo.toml index 6d7563e36d..9383a9de6c 100644 --- a/polkadot/runtime/rococo/constants/Cargo.toml +++ b/polkadot/runtime/rococo/constants/Cargo.toml @@ -17,6 +17,9 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = [features] default = ["std"] std = [ + "frame-support/std", + "primitives/std", + "runtime-common/std", "sp-core/std", "sp-runtime/std", "sp-weights/std" diff --git a/polkadot/runtime/westend/constants/Cargo.toml b/polkadot/runtime/westend/constants/Cargo.toml index 1de2721b50..c6fac15dca 100644 --- a/polkadot/runtime/westend/constants/Cargo.toml +++ b/polkadot/runtime/westend/constants/Cargo.toml @@ -17,6 +17,9 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = [features] default = ["std"] std = [ + "frame-support/std", + "primitives/std", + "runtime-common/std", "sp-core/std", "sp-runtime/std", "sp-weights/std"