Unverified Commit 54d4cbaf authored by Sergey Pepyakin's avatar Sergey Pepyakin Committed by GitHub
Browse files

execute_with_client: add 'static bound for Backend (#2049)

This is not a big change since the user definition AbstractClient already is 'static.
parent 5f51c63a
Pipeline #115647 passed with stages
in 27 minutes and 17 seconds
......@@ -115,7 +115,7 @@ pub trait ExecuteWithClient {
fn execute_with_client<Client, Api, Backend>(self, client: Arc<Client>) -> Self::Output
where
<Api as sp_api::ApiExt<Block>>::StateBackend: sp_api::StateBackend<BlakeTwo256>,
Backend: sc_client_api::Backend<Block>,
Backend: sc_client_api::Backend<Block> + 'static,
Backend::State: sp_api::StateBackend<BlakeTwo256>,
Api: crate::RuntimeApiCollection<StateBackend = Backend::State>,
Client: AbstractClient<Block, Backend, Api = Api> + 'static;
......
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