diff --git a/arbos/l1pricing/l1PricingOldVersions.go b/arbos/l1pricing/l1PricingOldVersions.go index bf5d00193b..01242f5974 100644 --- a/arbos/l1pricing/l1PricingOldVersions.go +++ b/arbos/l1pricing/l1PricingOldVersions.go @@ -15,10 +15,10 @@ import ( ) var ( - l1PricerFundsPoolRewardsCounter = metrics.NewRegisteredCounter("arbos/l1price_funds_pool/rewards_counter", nil) - l1PricerFundsPoolRewardsDistribution = metrics.NewRegisteredGaugeFloat64("arbos/l1price_funds_pool/rewards_distribution", nil) - l1PricerFundsPoolDueCounter = metrics.NewRegisteredCounter("arbos/l1price_funds_pool/due_counter", nil) - l1PricerFundsPoolDueDistribution = metrics.NewRegisteredGaugeFloat64("arbos/l1price_funds_pool/due_distribution", nil) + l1RewardsCounter = metrics.NewRegisteredCounter("arbos/batchposter_fee_collector/rewards_counter", nil) + l1RewardsDistribution = metrics.NewRegisteredGaugeFloat64("arbos/batchposter_fee_collector/rewards_distribution", nil) + l1BaseFeeDueCounter = metrics.NewRegisteredCounter("arbos/batchposter_fee_collector/due_counter", nil) + l1BaseFeeDistribution = metrics.NewRegisteredGaugeFloat64("arbos/batchposter_fee_collector/due_distribution", nil) ) func (ps *L1PricingState) _preversion10_UpdateForBatchPosterSpending( @@ -132,8 +132,8 @@ func (ps *L1PricingState) _preversion10_UpdateForBatchPosterSpending( return err } l1PricerRewards, _ := paymentForRewards.Float64() - l1PricerFundsPoolRewardsCounter.Inc(1) - l1PricerFundsPoolRewardsDistribution.Update(l1PricerRewards) + l1RewardsCounter.Inc(1) + l1RewardsDistribution.Update(l1PricerRewards) availableFunds = statedb.GetBalance(L1PricerFundsPoolAddress) // settle up payments owed to the batch poster, as much as possible @@ -157,8 +157,8 @@ func (ps *L1PricingState) _preversion10_UpdateForBatchPosterSpending( return err } l1PricerDue, _ := balanceToTransfer.Float64() - l1PricerFundsPoolDueCounter.Inc(1) - l1PricerFundsPoolDueDistribution.Update(l1PricerDue) + l1BaseFeeDueCounter.Inc(1) + l1BaseFeeDistribution.Update(l1PricerDue) balanceDueToPoster = am.BigSub(balanceDueToPoster, balanceToTransfer) err = posterState.SetFundsDue(balanceDueToPoster) if err != nil {