Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 09ee6e1

Browse files
sorpaasdebris
authored andcommitted
Fix subcrate test compile (#8862)
* Fix test compile for light, node_filter, service in ethcore * Fix ipfs, local-store, rpc, secret_store, updater subcrate test compile
1 parent 10fc74e commit 09ee6e1

File tree

8 files changed

+10
-0
lines changed

8 files changed

+10
-0
lines changed

ethcore/light/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ memory-cache = { path = "../../util/memory_cache" }
3838
error-chain = { version = "0.11", default-features = false }
3939

4040
[dev-dependencies]
41+
ethcore = { path = "..", features = ["test-helpers"] }
4142
kvdb-memorydb = { path = "../../util/kvdb-memorydb" }
4243
tempdir = "0.3"
4344

ethcore/node_filter/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ ethabi-contract = "5.0"
1919
lru-cache = "0.1"
2020

2121
[dev-dependencies]
22+
ethcore = { path = "..", features = ["test-helpers"] }
2223
kvdb-memorydb = { path = "../../util/kvdb-memorydb" }
2324
ethcore-io = { path = "../../util/io" }
2425
tempdir = "0.3"

ethcore/service/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ stop-guard = { path = "../../util/stop-guard" }
1616
trace-time = { path = "../../util/trace-time" }
1717

1818
[dev-dependencies]
19+
ethcore = { path = "..", features = ["test-helpers"] }
1920
tempdir = "0.3"
2021
kvdb-rocksdb = { path = "../../util/kvdb-rocksdb" }

ipfs/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ rlp = { path = "../util/rlp" }
1515
cid = "0.2"
1616
multihash = "0.7"
1717
unicase = "2.0"
18+
19+
[dev-dependencies]
20+
ethcore = { path = "../ethcore", features = ["test-helpers"] }

local-store/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ serde_derive = "1.0"
1616
serde_json = "1.0"
1717

1818
[dev-dependencies]
19+
ethcore = { path = "../ethcore", features = ["test-helpers"] }
1920
ethkey = { path = "../ethkey" }
2021
kvdb-memorydb = { path = "../util/kvdb-memorydb" }

rpc/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ stats = { path = "../util/stats" }
6565
vm = { path = "../ethcore/vm" }
6666

6767
[dev-dependencies]
68+
ethcore = { path = "../ethcore", features = ["test-helpers"] }
6869
ethcore-network = { path = "../util/network" }
6970
fake-fetch = { path = "../util/fake-fetch" }
7071
kvdb-memorydb = { path = "../util/kvdb-memorydb" }

secret_store/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ ethabi-derive = "5.0"
3939
ethabi-contract = "5.0"
4040

4141
[dev-dependencies]
42+
ethcore = { path = "../ethcore", features = ["test-helpers"] }
4243
tempdir = "0.3"
4344
kvdb-rocksdb = { path = "../util/kvdb-rocksdb" }

updater/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ path = { path = "../util/path" }
2525
rand = "0.4"
2626

2727
[dev-dependencies]
28+
ethcore = { path = "../ethcore", features = ["test-helpers"] }
2829
tempdir = "0.3"
2930
matches = "0.1"

0 commit comments

Comments
 (0)