datasource/ethereum: Only require ChainStore in BlockIngestor
@@ -13,7 +13,7 @@ use graph::web3::Transport;
pub struct BlockIngestor<S, T>
where
- S: BlockStore + Send + 'static,
+ S: ChainStore + Send + 'static,
T: BatchTransport + Send + Sync + Debug + Clone + 'static,
<T as Transport>::Out: Send,
<T as BatchTransport>::Batch: Send,
@@ -28,7 +28,7 @@ where
impl<S, T> BlockIngestor<S, T>
where
- S: BlockStore + Send + 'static,
+ S: ChainStore + Send + 'static,
T: BatchTransport + Send + Sync + Debug + Clone + 'static,
<T as Transport>::Out: Send,
<T as BatchTransport>::Batch: Send,
