Skip to content

Commit

Permalink
Merge pull request #6724 from keroro520/chore-log-batcher-add-block
Browse files Browse the repository at this point in the history
chore: add log to record mapping between channel and block
  • Loading branch information
OptimismBot authored Aug 11, 2023
2 parents 6cc232e + 0a13095 commit 896fc1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions op-batcher/batcher/channel_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 896fc1c

Please sign in to comment.