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 {
1085
1085
async fn latest_block ( & self , logger : & Logger ) -> Result < LightEthereumBlock , bc:: IngestorError > ;
1086
1086
1087
1087
/// 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 > ;
1089
1089
1090
1090
async fn load_block (
1091
1091
& self ,
Original file line number Diff line number Diff line change @@ -1288,7 +1288,7 @@ impl EthereumAdapterTrait for EthereumAdapter {
1288
1288
Ok ( ident)
1289
1289
}
1290
1290
1291
- async fn latest_block_header ( & self , logger : & Logger ) -> Result < BlockPtr , IngestorError > {
1291
+ async fn latest_block_ptr ( & self , logger : & Logger ) -> Result < BlockPtr , IngestorError > {
1292
1292
let alloy = self . alloy . clone ( ) ;
1293
1293
retry ( "eth_getBlockByNumber(latest) no txs RPC call" , logger)
1294
1294
. redact_log_urls ( true )
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ impl PollingBlockIngestor {
206
206
logger : & Logger ,
207
207
eth_adapter : & Arc < EthereumAdapter > ,
208
208
) -> Result < BlockPtr , IngestorError > {
209
- eth_adapter. latest_block_header ( & logger) . await
209
+ eth_adapter. latest_block_ptr ( & logger) . await
210
210
}
211
211
212
212
async fn eth_adapter ( & self ) -> anyhow:: Result < Arc < EthereumAdapter > > {
You can’t perform that action at this time.
0 commit comments