diff --git a/polkadot/node/service/src/client.rs b/polkadot/node/service/src/client.rs index adc2ef53c0..cd11d6a52c 100644 --- a/polkadot/node/service/src/client.rs +++ b/polkadot/node/service/src/client.rs @@ -23,7 +23,7 @@ use sp_blockchain::HeaderBackend; use sp_runtime::{ Justifications, generic::{BlockId, SignedBlock}, traits::{Block as BlockT, BlakeTwo256}, }; -use sc_client_api::{Backend as BackendT, BlockchainEvents, KeyIterator}; +use sc_client_api::{Backend as BackendT, BlockchainEvents, KeyIterator, AuxStore}; use sp_storage::{StorageData, StorageKey, ChildInfo, PrefixedStorageKey}; use polkadot_primitives::v1::{Block, ParachainHost, AccountId, Nonce, Balance, Header, BlockNumber, Hash}; use consensus_common::BlockStatus; @@ -78,6 +78,7 @@ pub trait AbstractClient: Block, StateBackend = Backend::State > + + AuxStore where Block: BlockT, Backend: BackendT, @@ -90,8 +91,13 @@ impl AbstractClient for Client Block: BlockT, Backend: BackendT, Backend::State: sp_api::StateBackend, - Client: BlockchainEvents + ProvideRuntimeApi + HeaderBackend - + Sized + Send + Sync + Client: BlockchainEvents + + ProvideRuntimeApi + + HeaderBackend + + AuxStore + + Sized + + Send + + Sync + CallApiAt< Block, StateBackend = Backend::State