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.
This commit is contained in:
Daniel Liu 2026-03-11 11:30:40 +08:00 committed by GitHub
parent 7d67a4ead4
commit c762053cd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1149,11 +1149,11 @@ func (w *Work) commitTransactions(mux *event.TypeMux, balanceFee map[common.Addr
if lazyTx == nil { if lazyTx == nil {
break break
} }
warped := lazyTx.Resolve() resolvedTx := lazyTx.Resolve()
if warped == nil { if resolvedTx == nil {
break break
} }
tx := warped tx := resolvedTx
to := tx.To() to := tx.To()
if w.header.Number.Uint64() >= common.DenylistHFNumber { if w.header.Number.Uint64() >= common.DenylistHFNumber {
from := tx.From() from := tx.From()