Skip to content
Snippets Groups Projects
Unverified Commit f69069bd authored by Joshy Orndorff's avatar Joshy Orndorff Committed by GitHub
Browse files

Parachain Template: Prune `AuxStore` bound and corresponding crate dependency (#2303)


This small PR removes an unnecessary trait bound to the `AuxStore` trait
from the Parachain template's `rpc.rs` file.

With that bound removed, the entire dependency on `sc-client-api` can
also be removed.

---------

Co-authored-by: default avatarJoshy Orndorff <git-user-email.h0ly5@simplelogin.com>
Co-authored-by: default avatarBastian Köcher <git@kchr.de>
parent c68ce6e1
Branches
No related merge requests found
Pipeline #419978 failed with stages
in 1 hour, 11 minutes, and 13 seconds
......@@ -9,7 +9,6 @@ use std::sync::Arc;
use parachain_template_runtime::{opaque::Block, AccountId, Balance, Nonce};
use sc_client_api::AuxStore;
pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor};
use sc_transaction_pool_api::TransactionPool;
use sp_api::ProvideRuntimeApi;
......@@ -36,7 +35,6 @@ pub fn create_full<C, P>(
where
C: ProvideRuntimeApi<Block>
+ HeaderBackend<Block>
+ AuxStore
+ HeaderMetadata<Block, Error = BlockChainError>
+ Send
+ Sync
......
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