From 7288192c88f554ea8d99dc077b7e1f8c260f3738 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Wed, 11 Jun 2025 18:06:16 +0200 Subject: [PATCH] consider tx without sidecar when accounting for the size it will contribute to the RLP-encoded block --- miner/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner/worker.go b/miner/worker.go index 0e0dcf0c8d..6b714364d6 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -305,7 +305,7 @@ func (miner *Miner) commitTransaction(env *environment, tx *types.Transaction) e } env.txs = append(env.txs, tx) env.receipts = append(env.receipts, receipt) - env.size += tx.Size() + env.size += tx.WithoutBlobTxSidecar().Size() env.tcount++ return nil }