Unverified Commit b61a0375 authored by André Silva's avatar André Silva Committed by GitHub
Browse files

service: update to latest ServiceBuilder changes (#1245)



* service: update to latest ServiceBuilder changes

* Update Cargo.lock
Co-authored-by: Bastian Köcher's avatarBastian Köcher <git@kchr.de>
parent 5629242d
Pipeline #96375 canceled with stages
in 18 minutes and 7 seconds
This diff is collapsed.
......@@ -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()
}}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment