Skip to content

Commit

Permalink
Parachain Template: Prune AuxStore bound and corresponding crate de…
Browse files Browse the repository at this point in the history
…pendency (#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: Joshy Orndorff <git-user-email.h0ly5@simplelogin.com>
Co-authored-by: Bastian Köcher <git@kchr.de>
  • Loading branch information
3 people authored Nov 29, 2023
1 parent c68ce6e commit f69069b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cumulus/parachain-template/node/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -36,7 +35,6 @@ pub fn create_full<C, P>(
where
C: ProvideRuntimeApi<Block>
+ HeaderBackend<Block>
+ AuxStore
+ HeaderMetadata<Block, Error = BlockChainError>
+ Send
+ Sync
Expand Down

0 comments on commit f69069b

Please sign in to comment.