ethcore: remove test-helper feat from build (#11047)

This commit is contained in:
Niklas Adolfsson 2019-09-13 11:13:41 +02:00 committed by Andronik Ordian
parent 0bd2348ca1
commit a665116eb1
2 changed files with 6 additions and 3 deletions

View File

@ -97,7 +97,11 @@ parity = ["work-notify", "price-info", "stratum", "macros"]
# but might be omitted for other dependent crates. # but might be omitted for other dependent crates.
work-notify = ["ethcore-miner/work-notify"] work-notify = ["ethcore-miner/work-notify"]
price-info = ["ethcore-miner/price-info"] price-info = ["ethcore-miner/price-info"]
stratum = ["ethcore-stratum"] stratum = [
"ethash",
"ethcore-stratum"
]
# Disables seal verification for mined blocks. # Disables seal verification for mined blocks.
# This allows you to submit any seal via RPC to test and benchmark # 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 # note[dvdplm]: "basic-authority/test-helpers" is needed so that `generate_dummy_client_with_spec` works
test-helpers = [ test-helpers = [
"blooms-db", "blooms-db",
"ethash",
"ethjson", "ethjson",
"ethkey", "ethkey",
"kvdb-memorydb", "kvdb-memorydb",

View File

@ -39,7 +39,7 @@ client-traits = { path = "../ethcore/client-traits" }
common-types = { path = "../ethcore/types" } common-types = { path = "../ethcore/types" }
engine = { path = "../ethcore/engine" } engine = { path = "../ethcore/engine" }
ethash = { path = "../ethash" } ethash = { path = "../ethash" }
ethcore = { path = "../ethcore", features = ["test-helpers"] } ethcore = { path = "../ethcore" }
ethcore-accounts = { path = "../accounts", optional = true } ethcore-accounts = { path = "../accounts", optional = true }
ethcore-light = { path = "../ethcore/light" } ethcore-light = { path = "../ethcore/light" }
ethcore-logger = { path = "../parity/logger" } ethcore-logger = { path = "../parity/logger" }