@@ -389,7 +389,7 @@ impl Chain {
389389 // caller can spawn.
390390 pub async fn cheapest_adapter ( & self ) -> Arc < EthereumAdapter > {
391391 let adapters = match self . client . as_ref ( ) {
392- ChainClient :: Firehose ( _, _ ) => panic ! ( "no adapter with firehose" ) ,
392+ ChainClient :: Firehose ( _) => panic ! ( "no adapter with firehose" ) ,
393393 ChainClient :: Rpc ( adapter) => adapter,
394394 } ;
395395 adapters. cheapest ( ) . await . unwrap ( )
@@ -472,7 +472,7 @@ impl Blockchain for Chain {
472472 )
473473 . await
474474 }
475- ChainClient :: Firehose ( _, _ ) => {
475+ ChainClient :: Firehose ( _) => {
476476 self . block_stream_builder
477477 . build_firehose (
478478 self ,
@@ -498,7 +498,7 @@ impl Blockchain for Chain {
498498 number : BlockNumber ,
499499 ) -> Result < BlockPtr , IngestorError > {
500500 match self . client . as_ref ( ) {
501- ChainClient :: Firehose ( endpoints, _ ) => endpoints
501+ ChainClient :: Firehose ( endpoints) => endpoints
502502 . endpoint ( )
503503 . await ?
504504 . block_ptr_for_number :: < HeaderOnlyBlock > ( logger, number)
@@ -557,7 +557,7 @@ impl Blockchain for Chain {
557557
558558 async fn block_ingestor ( & self ) -> anyhow:: Result < Box < dyn BlockIngestor > > {
559559 let ingestor: Box < dyn BlockIngestor > = match self . chain_client ( ) . as_ref ( ) {
560- ChainClient :: Firehose ( _, _ ) => {
560+ ChainClient :: Firehose ( _) => {
561561 let ingestor = FirehoseBlockIngestor :: < HeaderOnlyBlock , Self > :: new (
562562 self . chain_store . cheap_clone ( ) ,
563563 self . chain_client ( ) ,
@@ -852,7 +852,7 @@ impl TriggersAdapterTrait<Chain> for TriggersAdapter {
852852 use graph:: prelude:: LightEthereumBlockExt ;
853853
854854 let block = match self . chain_client . as_ref ( ) {
855- ChainClient :: Firehose ( _, _ ) => Some ( BlockPtr {
855+ ChainClient :: Firehose ( _) => Some ( BlockPtr {
856856 hash : BlockHash :: from ( vec ! [ 0xff ; 32 ] ) ,
857857 number : block. number . saturating_sub ( 1 ) ,
858858 } ) ,
0 commit comments