From a665116eb14a54daf15860c57ce1c7219f239b36 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Fri, 13 Sep 2019 11:13:41 +0200 Subject: [PATCH] ethcore: remove `test-helper feat` from build (#11047) --- ethcore/Cargo.toml | 7 +++++-- rpc/Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ethcore/Cargo.toml b/ethcore/Cargo.toml index 85be27f95..02618d1ab 100644 --- a/ethcore/Cargo.toml +++ b/ethcore/Cargo.toml @@ -97,7 +97,11 @@ parity = ["work-notify", "price-info", "stratum", "macros"] # but might be omitted for other dependent crates. work-notify = ["ethcore-miner/work-notify"] price-info = ["ethcore-miner/price-info"] -stratum = ["ethcore-stratum"] +stratum = [ + "ethash", + "ethcore-stratum" +] + # Disables seal verification for mined blocks. # This allows you to submit any seal via RPC to test and benchmark @@ -122,7 +126,6 @@ test-heavy = [] # note[dvdplm]: "basic-authority/test-helpers" is needed so that `generate_dummy_client_with_spec` works test-helpers = [ "blooms-db", - "ethash", "ethjson", "ethkey", "kvdb-memorydb", diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index f7f1337d6..4140dc13f 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -39,7 +39,7 @@ client-traits = { path = "../ethcore/client-traits" } common-types = { path = "../ethcore/types" } engine = { path = "../ethcore/engine" } ethash = { path = "../ethash" } -ethcore = { path = "../ethcore", features = ["test-helpers"] } +ethcore = { path = "../ethcore" } ethcore-accounts = { path = "../accounts", optional = true } ethcore-light = { path = "../ethcore/light" } ethcore-logger = { path = "../parity/logger" }