We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71c06dd + 335c83e commit 393eba9Copy full SHA for 393eba9
rolling-shutter/keyperimpl/gnosis/sequencersyncer.go
@@ -2,6 +2,7 @@ package gnosis
2
3
import (
4
"context"
5
+ "fmt"
6
"math"
7
"math/big"
8
@@ -179,7 +180,7 @@ func (s *SequencerSyncer) insertTransactionSubmittedEvents(
179
180
if err != nil {
181
return errors.Wrap(err, "failed to insert transaction submitted event into db")
182
}
- metricsLatestTxSubmittedEventIndex.WithLabelValues(string(event.Eon)).Set(float64(nextEventIndex))
183
+ metricsLatestTxSubmittedEventIndex.WithLabelValues(fmt.Sprint(event.Eon)).Set(float64(nextEventIndex))
184
nextEventIndices[event.Eon]++
185
log.Debug().
186
Int64("index", nextEventIndex).
0 commit comments