Commit 896fc1cf authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #6724 from keroro520/chore-log-batcher-add-block

chore: add log to record mapping between channel and block
parents 6cc232ea 0a130958
......@@ -226,6 +226,8 @@ func (s *channelManager) processBlocks() error {
} else if err != nil {
return fmt.Errorf("adding block[%d] to channel builder: %w", i, err)
}
s.log.Debug("Added block to channel", "channel", s.currentChannel.ID(), "block", block)
blocksAdded += 1
latestL2ref = l2BlockRefFromBlockAndL1Info(block, l1info)
s.metr.RecordL2BlockInChannel(block)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment