mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
service: update to latest ServiceBuilder changes (#1245)
* service: update to latest ServiceBuilder changes * Update Cargo.lock Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Generated
+136
-136
File diff suppressed because it is too large
Load Diff
@@ -305,7 +305,7 @@ macro_rules! new_full {
|
||||
let provider = client as Arc<dyn grandpa::StorageAndProofProvider<_, _>>;
|
||||
Ok(Arc::new(GrandpaFinalityProofProvider::new(backend, provider)) as _)
|
||||
})?
|
||||
.build()?;
|
||||
.build_full()?;
|
||||
|
||||
let (block_import, link_half, babe_link) = import_setup.take()
|
||||
.expect("Link Half and Block Import are present for Full Services or setup failed before. qed");
|
||||
@@ -633,7 +633,7 @@ macro_rules! new_light {
|
||||
};
|
||||
Ok(polkadot_rpc::create_light(light_deps))
|
||||
})?
|
||||
.build()
|
||||
.build_light()
|
||||
}}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user