From c762053cd65b889aa995f05ec0c4895ae76d1dcb Mon Sep 17 00:00:00 2001 From: Daniel Liu <139250065@qq.com> Date: Wed, 11 Mar 2026 11:30:40 +0800 Subject: [PATCH] refactor(txpool): remove wrapper type #27841 (#2124) Partial backport of ethereum/go-ethereum PR #27841, limited to txpool wrapper removal. - Migrate txpool interfaces/call sites from `*txpool.Transaction` to `*types.Transaction` - Update eth/miner/contracts paths and related tests accordingly - No intended behavior change Blob sidecar validation/handling changes from upstream are not included here. --- miner/worker.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/miner/worker.go b/miner/worker.go index fd15fbf517..01822771c9 100644 --- a/miner/worker.go +++ b/miner/worker.go @@ -1149,11 +1149,11 @@ func (w *Work) commitTransactions(mux *event.TypeMux, balanceFee map[common.Addr if lazyTx == nil { break } - warped := lazyTx.Resolve() - if warped == nil { + resolvedTx := lazyTx.Resolve() + if resolvedTx == nil { break } - tx := warped + tx := resolvedTx to := tx.To() if w.header.Number.Uint64() >= common.DenylistHFNumber { from := tx.From()