mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +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:
@@ -105,7 +105,9 @@ pub struct FullDeps<C, P, SC, B> {
|
||||
}
|
||||
|
||||
/// Instantiate all RPC extensions.
|
||||
pub fn create_full<C, P, SC, B>(deps: FullDeps<C, P, SC, B>) -> RpcExtension
|
||||
pub fn create_full<C, P, SC, B>(
|
||||
deps: FullDeps<C, P, SC, B>,
|
||||
) -> Result<RpcExtension, Box<dyn std::error::Error + Send + Sync>>
|
||||
where
|
||||
C: ProvideRuntimeApi<Block>
|
||||
+ HeaderBackend<Block>
|
||||
@@ -166,7 +168,7 @@ where
|
||||
shared_authority_set,
|
||||
shared_epoch_changes,
|
||||
deny_unsafe,
|
||||
)));
|
||||
)?));
|
||||
|
||||
io.extend_with(beefy_gadget_rpc::BeefyApi::to_delegate(
|
||||
beefy_gadget_rpc::BeefyRpcHandler::new(
|
||||
@@ -175,7 +177,7 @@ where
|
||||
),
|
||||
));
|
||||
|
||||
io
|
||||
Ok(io)
|
||||
}
|
||||
|
||||
/// Instantiate all RPC extensions for light node.
|
||||
|
||||
Reference in New Issue
Block a user