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
+4 -4
View File
@@ -44,13 +44,13 @@ use codec::{Encode, Decode};
#[cfg(feature = "std")]
pub mod testing;
pub mod weights;
pub mod traits;
pub mod curve;
pub mod generic;
pub mod transaction_validity;
pub mod offchain;
pub mod sr_arithmetic;
pub mod traits;
pub mod transaction_validity;
pub mod weights;
/// Re-export these since they're only "kind of" generic.
pub use generic::{DigestItem, Digest};