File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1085,7 +1085,7 @@ pub trait EthereumAdapter: Send + Sync + 'static {
10851085 async fn latest_block ( & self , logger : & Logger ) -> Result < LightEthereumBlock , bc:: IngestorError > ;
10861086
10871087 /// Get the latest block, with only the header and transaction hashes.
1088- async fn latest_block_header ( & self , logger : & Logger ) -> Result < BlockPtr , bc:: IngestorError > ;
1088+ async fn latest_block_ptr ( & self , logger : & Logger ) -> Result < BlockPtr , bc:: IngestorError > ;
10891089
10901090 async fn load_block (
10911091 & self ,
Original file line number Diff line number Diff line change @@ -1303,7 +1303,7 @@ impl EthereumAdapterTrait for EthereumAdapter {
13031303 Ok ( ident)
13041304 }
13051305
1306- async fn latest_block_header ( & self , logger : & Logger ) -> Result < BlockPtr , IngestorError > {
1306+ async fn latest_block_ptr ( & self , logger : & Logger ) -> Result < BlockPtr , IngestorError > {
13071307 let alloy = self . alloy . clone ( ) ;
13081308 retry ( "eth_getBlockByNumber(latest) no txs RPC call" , logger)
13091309 . redact_log_urls ( true )
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ impl PollingBlockIngestor {
206206 logger : & Logger ,
207207 eth_adapter : & Arc < EthereumAdapter > ,
208208 ) -> Result < BlockPtr , IngestorError > {
209- eth_adapter. latest_block_header ( & logger) . await
209+ eth_adapter. latest_block_ptr ( & logger) . await
210210 }
211211
212212 async fn eth_adapter ( & self ) -> anyhow:: Result < Arc < EthereumAdapter > > {
You can’t perform that action at this time.
0 commit comments