Skip to content

Commit

Permalink
rocksdb: add details to log about preloaded block number (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospb19-cw authored May 28, 2024
1 parent fc97844 commit 846283c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eth/storage/rocks/rocks_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl RocksStorageState {

pub fn preload_block_number(&self) -> anyhow::Result<AtomicU64> {
let block_number = self.blocks_by_number.last().map(|(num, _)| num).unwrap_or_default();
tracing::error!(?block_number);
tracing::warn!(?block_number, "preloaded block_number");
Ok((u64::from(block_number)).into())
}

Expand Down

0 comments on commit 846283c

Please sign in to comment.