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
View File
@@ -45,8 +45,6 @@ pub enum EcdsaVerifyError {
BadSignature,
}
pub mod offchain;
/// Converts a public trait definition into a private trait and set of public functions
/// that assume the trait is implemented for `()` for ease of calling.
macro_rules! export_api {