mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 09:47:56 +00:00
* Substrate companion #9491 https://github.com/paritytech/substrate/pull/9491 * update Substrate * Fix build Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -322,10 +322,7 @@ fn new_partial<RuntimeApi, Executor>(
|
||||
sc_consensus::DefaultImportQueue<Block, FullClient<RuntimeApi, Executor>>,
|
||||
sc_transaction_pool::FullPool<Block, FullClient<RuntimeApi, Executor>>,
|
||||
(
|
||||
impl Fn(
|
||||
polkadot_rpc::DenyUnsafe,
|
||||
polkadot_rpc::SubscriptionTaskExecutor,
|
||||
) -> polkadot_rpc::RpcExtension,
|
||||
impl service::RpcExtensionBuilder,
|
||||
(
|
||||
babe::BabeBlockImport<
|
||||
Block,
|
||||
@@ -469,7 +466,7 @@ where
|
||||
|
||||
move |deny_unsafe,
|
||||
subscription_executor: polkadot_rpc::SubscriptionTaskExecutor|
|
||||
-> polkadot_rpc::RpcExtension {
|
||||
-> Result<polkadot_rpc::RpcExtension, service::Error> {
|
||||
let deps = polkadot_rpc::FullDeps {
|
||||
client: client.clone(),
|
||||
pool: transaction_pool.clone(),
|
||||
@@ -494,7 +491,7 @@ where
|
||||
},
|
||||
};
|
||||
|
||||
polkadot_rpc::create_full(deps)
|
||||
polkadot_rpc::create_full(deps).map_err(Into::into)
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user