diff --git a/rollup/internal/controller/relayer/l1_relayer.go b/rollup/internal/controller/relayer/l1_relayer.go index e90bdddc4e..921ccec4f2 100644 --- a/rollup/internal/controller/relayer/l1_relayer.go +++ b/rollup/internal/controller/relayer/l1_relayer.go @@ -182,7 +182,7 @@ func (r *Layer1Relayer) ProcessGasPriceOracle() { r.lastBaseFee = baseFee r.lastBlobBaseFee = blobBaseFee r.metrics.rollupL1RelayerLatestBaseFee.Set(float64(r.lastBaseFee)) - r.metrics.rollupL1RelayerLastestBlobBaseFee.Set(float64(r.lastBlobBaseFee)) + r.metrics.rollupL1RelayerLatestBlobBaseFee.Set(float64(r.lastBlobBaseFee)) log.Info("Update l1 base fee", "txHash", hash.String(), "baseFee", baseFee, "blobBaseFee", blobBaseFee, "isBernoulli", isBernoulli, "isCurie", isCurie) } } diff --git a/rollup/internal/controller/relayer/l1_relayer_metrics.go b/rollup/internal/controller/relayer/l1_relayer_metrics.go index 5a0aeb8c15..433c373964 100644 --- a/rollup/internal/controller/relayer/l1_relayer_metrics.go +++ b/rollup/internal/controller/relayer/l1_relayer_metrics.go @@ -10,7 +10,7 @@ import ( type l1RelayerMetrics struct { rollupL1RelayerGasPriceOraclerRunTotal prometheus.Counter rollupL1RelayerLatestBaseFee prometheus.Gauge - rollupL1RelayerLastestBlobBaseFee prometheus.Gauge + rollupL1RelayerLatestBlobBaseFee prometheus.Gauge rollupL1UpdateGasOracleConfirmedTotal prometheus.Counter rollupL1UpdateGasOracleConfirmedFailedTotal prometheus.Counter } @@ -31,7 +31,7 @@ func initL1RelayerMetrics(reg prometheus.Registerer) *l1RelayerMetrics { Name: "rollup_layer1_latest_base_fee", Help: "The latest base fee of l1 rollup relayer", }), - rollupL1RelayerLastestBlobBaseFee: promauto.With(reg).NewGauge(prometheus.GaugeOpts{ + rollupL1RelayerLatestBlobBaseFee: promauto.With(reg).NewGauge(prometheus.GaugeOpts{ Name: "rollup_layer1_latest_blob_base_fee", Help: "The latest blob base fee of l1 rollup relayer", }),