Skip to content

Commit 3bca492

Browse files
committed
rename
1 parent 1f3cbe5 commit 3bca492

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

rollup/conf/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"max_batches": 6,
6060
"timeout": 7200,
6161
"backlog_max": 75,
62-
"blob_fee_tolerance_wei": 10000000000
62+
"blob_fee_tolerance": 10000000000
6363
},
6464
"gas_oracle_config": {
6565
"min_gas_price": 0,

rollup/internal/config/relayer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ type BatchSubmission struct {
4848
TimeoutSec int64 `json:"timeout"`
4949
// The maximum number of pending batches to keep in the backlog.
5050
BacklogMax int64 `json:"backlog_max"`
51-
// BlobFeeToleranceWei is the absolute tolerance (in wei) added to the target blob fee.
51+
// BlobFeeTolerance is the absolute tolerance (in wei) added to the target blob fee.
5252
// If the current fee is below target + tolerance, we proceed with submission.
5353
// This prevents skipping submission when the price difference is negligible (e.g., 1 wei).
5454
// Recommended value: 10 gwei (10000000000 wei).
55-
BlobFeeToleranceWei uint64 `json:"blob_fee_tolerance_wei"`
55+
BlobFeeTolerance uint64 `json:"blob_fee_tolerance"`
5656
}
5757

5858
// ChainMonitor this config is used to get batch status from chain_monitor API.

rollup/internal/controller/relayer/l2_relayer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ func (r *Layer2Relayer) skipSubmitByFee(oldest time.Time, metrics *l2RelayerMetr
12561256
current := hist[len(hist)-1]
12571257

12581258
// apply absolute tolerance offset to target
1259-
tolerance := new(big.Int).SetUint64(r.cfg.BatchSubmission.BlobFeeToleranceWei)
1259+
tolerance := new(big.Int).SetUint64(r.cfg.BatchSubmission.BlobFeeTolerance)
12601260
threshold := new(big.Int).Add(target, tolerance)
12611261

12621262
currentFloat, _ := current.Float64()

0 commit comments

Comments
 (0)