Switch offchain workers to new futures (#3285)

* Switch offchain workers to new futures

* Fix tests
This commit is contained in:
Pierre Krieger
2019-08-08 09:35:12 +02:00
committed by Gavin Wood
parent b29277239a
commit 3d65753d48
5 changed files with 13 additions and 16 deletions
+1 -2
View File
@@ -8,7 +8,7 @@ edition = "2018"
[dependencies]
client = { package = "substrate-client", path = "../../core/client" }
futures = "0.1.25"
futures-preview = "0.3.0-alpha.17"
log = "0.4"
offchain-primitives = { package = "substrate-offchain-primitives", path = "./primitives" }
codec = { package = "parity-scale-codec", version = "1.0.0", features = ["derive"] }
@@ -23,7 +23,6 @@ keystore = { package = "substrate-keystore", path = "../keystore" }
env_logger = "0.6"
client-db = { package = "substrate-client-db", path = "../../core/client/db/", default-features = true }
test-client = { package = "substrate-test-runtime-client", path = "../../core/test-runtime/client" }
tokio = "0.1.7"
[features]
default = []