mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
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: Joshy Orndorff <git-user-email.h0ly5@simplelogin.com> Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -9,7 +9,6 @@ use std::sync::Arc;
|
|||||||
|
|
||||||
use parachain_template_runtime::{opaque::Block, AccountId, Balance, Nonce};
|
use parachain_template_runtime::{opaque::Block, AccountId, Balance, Nonce};
|
||||||
|
|
||||||
use sc_client_api::AuxStore;
|
|
||||||
pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor};
|
pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor};
|
||||||
use sc_transaction_pool_api::TransactionPool;
|
use sc_transaction_pool_api::TransactionPool;
|
||||||
use sp_api::ProvideRuntimeApi;
|
use sp_api::ProvideRuntimeApi;
|
||||||
@@ -36,7 +35,6 @@ pub fn create_full<C, P>(
|
|||||||
where
|
where
|
||||||
C: ProvideRuntimeApi<Block>
|
C: ProvideRuntimeApi<Block>
|
||||||
+ HeaderBackend<Block>
|
+ HeaderBackend<Block>
|
||||||
+ AuxStore
|
|
||||||
+ HeaderMetadata<Block, Error = BlockChainError>
|
+ HeaderMetadata<Block, Error = BlockChainError>
|
||||||
+ Send
|
+ Send
|
||||||
+ Sync
|
+ Sync
|
||||||
|
|||||||
Reference in New Issue
Block a user