From 23fc61420c904ae9d7b8e5978b39bedd469cd283 Mon Sep 17 00:00:00 2001 From: Denis Pingin <2085934+denis-pingin@users.noreply.github.com> Date: Thu, 21 Nov 2024 12:30:24 +0100 Subject: [PATCH] miner: fix config unmarshalling (#433) --- miner/miner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miner/miner.go b/miner/miner.go index 7cbfebf564..447cf4ccbd 100644 --- a/miner/miner.go +++ b/miner/miner.go @@ -64,8 +64,8 @@ type Config struct { RollupTransactionConditionalRateLimit int // Total number of conditional cost units allowed in a second EffectiveGasCeil uint64 // if non-zero, a gas ceiling to apply independent of the header's gaslimit value - MaxDATxSize *big.Int // if non-nil, don't include any txs with data availability size larger than this in any built block - MaxDABlockSize *big.Int // if non-nil, then don't build a block requiring more than this amount of total data availability + MaxDATxSize *big.Int `toml:",omitempty"` // if non-nil, don't include any txs with data availability size larger than this in any built block + MaxDABlockSize *big.Int `toml:",omitempty"` // if non-nil, then don't build a block requiring more than this amount of total data availability } // DefaultConfig contains default settings for miner.