Define node_runtime compatible Runtime types (#23)

* Define default `node_runtime` compatible Runtime

* rustfmt
This commit is contained in:
Andrew Jones
2019-10-04 17:54:16 +01:00
committed by GitHub
parent 98e3bb8640
commit 58959db9d4
4 changed files with 107 additions and 20 deletions
+2
View File
@@ -78,11 +78,13 @@ mod events;
mod extrinsic;
mod metadata;
mod rpc;
mod runtimes;
mod srml;
pub use error::Error;
pub use events::RawEvent;
pub use rpc::ExtrinsicSuccess;
pub use runtimes::*;
pub use srml::*;
fn connect<T: System>(url: &Url) -> impl Future<Item = Rpc<T>, Error = Error> {