From 5a112a661339a9edf84367856edd31ceaf176fae Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Mon, 21 Aug 2023 21:15:56 +0200 Subject: [PATCH] Revert "Add some mistakes" This reverts commit b2b1099f979f6decb22d09b46689c1554bb72e81. --- frame/transaction-storage/Cargo.toml | 2 +- primitives/application-crypto/Cargo.toml | 2 +- primitives/npos-elections/Cargo.toml | 1 - primitives/runtime/Cargo.toml | 3 +-- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/frame/transaction-storage/Cargo.toml b/frame/transaction-storage/Cargo.toml index fc7932bddf50b..8353872926a44 100644 --- a/frame/transaction-storage/Cargo.toml +++ b/frame/transaction-storage/Cargo.toml @@ -42,7 +42,7 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "pallet-balances/runtime-benchmarks", - "sp-runtime/runtime-benchmarks" + "sp-runtime/runtime-benchmarks", ] std = [ "codec/std", diff --git a/primitives/application-crypto/Cargo.toml b/primitives/application-crypto/Cargo.toml index 9b68bcbc784c3..a66604394b1a8 100644 --- a/primitives/application-crypto/Cargo.toml +++ b/primitives/application-crypto/Cargo.toml @@ -48,10 +48,10 @@ serde = [ # For the regular wasm runtime builds this should not be used. full_crypto = [ "sp-core/full_crypto", + "sp-io/disable_oom", # Don't add `panic_handler` and `alloc_error_handler` since they are expected to be provided # by the user anyway. "sp-io/disable_panic_handler", - "sp-io/disable_oom", ] # This feature adds BLS crypto primitives. diff --git a/primitives/npos-elections/Cargo.toml b/primitives/npos-elections/Cargo.toml index ad65aeb02931b..d391755bedab7 100644 --- a/primitives/npos-elections/Cargo.toml +++ b/primitives/npos-elections/Cargo.toml @@ -37,7 +37,6 @@ std = [ "sp-arithmetic/std", "sp-core/std", "sp-runtime/std", - "sp-std/std", ] diff --git a/primitives/runtime/Cargo.toml b/primitives/runtime/Cargo.toml index 39d0148671d6d..2785ba496772b 100644 --- a/primitives/runtime/Cargo.toml +++ b/primitives/runtime/Cargo.toml @@ -50,13 +50,12 @@ std = [ "either/use_std", "hash256-std-hasher/std", "log/std", + "rand", "scale-info/std", "serde/std", "sp-api/std", "sp-application-crypto/std", "sp-arithmetic/std", - # hi - "rand", "sp-core/std", "sp-io/std", "sp-state-machine/std",