Skip to content

Commit

Permalink
test: add more debug logs for ChainReaderBlockStreamer
Browse files Browse the repository at this point in the history
  • Loading branch information
jpraynaud committed Sep 18, 2024
1 parent 184aaf8 commit 86b9d5f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ impl ChainReaderBlockStreamer {
match chain_reader.get_next_chain_block().await? {
Some(ChainBlockNextAction::RollForward { parsed_block }) => {
if parsed_block.block_number > self.until {
trace!(
debug!(
self.logger,
"ChainReaderBlockStreamer received a RollForward above threshold block number ({})",
parsed_block.block_number
);
Ok(None)
} else {
trace!(
debug!(
self.logger,
"ChainReaderBlockStreamer received a RollForward below threshold block number ({})",
parsed_block.block_number
Expand Down

0 comments on commit 86b9d5f

Please sign in to comment.