Move offchain worker http helpers to sr-primitives. (#3733)

* Move offchain helpers to sr-primitives.

* Add some docs and fix tests.

* Refresh cargo.lock

* Bump runtime.

* Don't run offchain http example.
This commit is contained in:
Tomasz Drwięga
2019-10-02 10:03:18 +02:00
committed by Bastian Köcher
parent 3907582457
commit 90df6b3c6c
7 changed files with 47 additions and 20 deletions
+2 -1
View File
@@ -19,9 +19,10 @@ rand = { version = "0.7.0", optional = true }
impl-trait-for-tuples = "0.1.1"
[dev-dependencies]
serde_json = "1.0"
primitive-types = "0.5.1"
rand = "0.7.2"
serde_json = "1.0"
substrate-offchain = { path = "../offchain" }
[features]
default = ["std"]