@@ -13,7 +13,7 @@ use graph::blockchain::block_stream::{
1313} ;
1414use graph:: blockchain:: { Block , BlockPtr , TriggerFilterWrapper } ;
1515use graph:: futures03:: { stream:: Stream , Future , FutureExt } ;
16- use graph:: prelude:: { DeploymentHash , NodeId , BLOCK_NUMBER_MAX } ;
16+ use graph:: prelude:: { DeploymentHash , BLOCK_NUMBER_MAX } ;
1717use graph:: slog:: { debug, info, trace, warn, Logger } ;
1818
1919use graph:: components:: store:: BlockNumber ;
@@ -74,7 +74,6 @@ enum ReconciliationStep {
7474
7575struct PollingBlockStreamContext {
7676 adapter : Arc < TriggersAdapterWrapper < Chain > > ,
77- node_id : NodeId ,
7877 subgraph_id : DeploymentHash ,
7978 // This is not really a block number, but the (unsigned) difference
8079 // between two block numbers
@@ -96,7 +95,6 @@ impl Clone for PollingBlockStreamContext {
9695 fn clone ( & self ) -> Self {
9796 Self {
9897 adapter : self . adapter . clone ( ) ,
99- node_id : self . node_id . clone ( ) ,
10098 subgraph_id : self . subgraph_id . clone ( ) ,
10199 reorg_threshold : self . reorg_threshold ,
102100 filter : self . filter . clone ( ) ,
@@ -133,7 +131,6 @@ impl PollingBlockStream {
133131 pub fn new (
134132 chain_head_update_stream : ChainHeadUpdateStream ,
135133 adapter : Arc < TriggersAdapterWrapper < Chain > > ,
136- node_id : NodeId ,
137134 subgraph_id : DeploymentHash ,
138135 filter : Arc < TriggerFilterWrapper < Chain > > ,
139136 start_blocks : Vec < BlockNumber > ,
@@ -151,7 +148,6 @@ impl PollingBlockStream {
151148 ctx : PollingBlockStreamContext {
152149 current_block : start_block,
153150 adapter,
154- node_id,
155151 subgraph_id,
156152 reorg_threshold,
157153 logger,
0 commit comments