From f39eb8ba42f7783f6ff1f5f96a24836379bc3ef0 Mon Sep 17 00:00:00 2001 From: Morty Date: Tue, 8 Oct 2024 00:51:35 +0800 Subject: [PATCH] fix: lint --- rollup/internal/config/relayer.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rollup/internal/config/relayer.go b/rollup/internal/config/relayer.go index 2bac657d6..1ff0a2d91 100644 --- a/rollup/internal/config/relayer.go +++ b/rollup/internal/config/relayer.go @@ -111,8 +111,8 @@ type GasOracleConfig struct { MinGasPrice uint64 `json:"min_gas_price"` // GasPriceDiff is the minimum percentage of gas price difference to update gas oracle. GasPriceDiff uint64 `json:"gas_price_diff"` - // AlternativeGasTokenConfig The configuration for handling token exchange rates when updating the gas price oracle. - AlternativeGasTokenConfig *AlternativeGasTokenConfig `json:"alternative_gas_token_config"` + // AlternativeGasTokenConfig The configuration for handling token exchange rates when updating the gas price oracle. + AlternativeGasTokenConfig *AlternativeGasTokenConfig `json:"alternative_gas_token_config"` // The following configs are only for updating L1 gas price, used for sender in L2. // The weight for L1 base fee. @@ -120,9 +120,9 @@ type GasOracleConfig struct { // The weight for L1 blob base fee. L1BlobBaseFeeWeight float64 `json:"l1_blob_base_fee_weight"` // CheckCommittedBatchesWindowMinutes the time frame to check if we committed batches to decide to update gas oracle or not in minutes - CheckCommittedBatchesWindowMinutes int `json:"check_committed_batches_window_minutes"` - L1BaseFeeDefault uint64 `json:"l1_base_fee_default"` - L1BlobBaseFeeDefault uint64 `json:"l1_blob_base_fee_default"` + CheckCommittedBatchesWindowMinutes int `json:"check_committed_batches_window_minutes"` + L1BaseFeeDefault uint64 `json:"l1_base_fee_default"` + L1BlobBaseFeeDefault uint64 `json:"l1_blob_base_fee_default"` } // SignerConfig - config of signer, contains type and config corresponding to type