Skip to content

Commit

Permalink
Merge pull request #8552 from Chomtana/typo-op-batcher
Browse files Browse the repository at this point in the history
chore: fix op-batcher typo
  • Loading branch information
trianglesphere authored Dec 11, 2023
2 parents d118d11 + 0e85efa commit b02c496
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion op-batcher/batcher/channel_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func ChannelManager_Clear(t *testing.T, batchType uint) {
m := NewChannelManager(log, metrics.NoopMetrics, ChannelConfig{
// Need to set the channel timeout here so we don't clear pending
// channels on confirmation. This would result in [TxConfirmed]
// clearing confirmed transactions, and reseting the pendingChannels map
// clearing confirmed transactions, and resetting the pendingChannels map
ChannelTimeout: 10,
// Have to set the max frame size here otherwise the channel builder would not
// be able to output any frames
Expand Down
2 changes: 1 addition & 1 deletion op-batcher/batcher/channel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func TestChannelTxConfirmed(t *testing.T) {
m := NewChannelManager(log, metrics.NoopMetrics, ChannelConfig{
// Need to set the channel timeout here so we don't clear pending
// channels on confirmation. This would result in [TxConfirmed]
// clearing confirmed transactions, and reseting the pendingChannels map
// clearing confirmed transactions, and resetting the pendingChannels map
ChannelTimeout: 10,
}, &rollup.Config{})
m.Clear()
Expand Down
2 changes: 1 addition & 1 deletion op-batcher/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type Metrics struct {
info prometheus.GaugeVec
up prometheus.Gauge

// label by openend, closed, fully_submitted, timed_out
// label by opened, closed, fully_submitted, timed_out
channelEvs opmetrics.EventVec

pendingBlocksCount prometheus.GaugeVec
Expand Down

0 comments on commit b02c496

Please sign in to comment.