Add runtime_metadata_url to pull metadata directly from a node (#689)

* Allow metadata to be pulled directly from a node with runtime_metadata_url

* Update docs

* https too, and abstract out block_on fn

* tweak a comment in the example
This commit is contained in:
James Wilson
2022-10-19 11:07:12 +01:00
committed by GitHub
parent d7546db843
commit d03e599684
14 changed files with 286 additions and 79 deletions
+5 -1
View File
@@ -45,9 +45,13 @@ mod api;
mod ir;
mod types;
pub mod utils;
pub use self::{
api::{
generate_runtime_api,
generate_runtime_api_from_bytes,
generate_runtime_api_from_path,
generate_runtime_api_from_url,
RuntimeGenerator,
},
types::{