From ebf209036e7ce012243ff6c05af8a74cb0d0fa91 Mon Sep 17 00:00:00 2001 From: Gary Rong Date: Tue, 28 Apr 2026 20:16:04 +0800 Subject: [PATCH] core/txpool/legacypool: revert the changes in the txpool clearing --- core/txpool/legacypool/legacypool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/txpool/legacypool/legacypool.go b/core/txpool/legacypool/legacypool.go index 555542c71c..00630de04c 100644 --- a/core/txpool/legacypool/legacypool.go +++ b/core/txpool/legacypool/legacypool.go @@ -1222,9 +1222,9 @@ func (pool *LegacyPool) runReorg(done chan struct{}, reset *txpoolResetRequest, pool.mu.Lock() if reset != nil { if reset.newHead != nil && reset.oldHead != nil { - // Discard the transactions with the gas limit higher than the cap. + // Discard the transactions with the gas limit higher than the cap at the + // Osaka fork boundary. if pool.chainconfig.IsOsaka(reset.newHead.Number, reset.newHead.Time) && - !pool.chainconfig.IsAmsterdam(reset.newHead.Number, reset.newHead.Time) && !pool.chainconfig.IsOsaka(reset.oldHead.Number, reset.oldHead.Time) { var hashes []common.Hash pool.all.Range(func(hash common.Hash, tx *types.Transaction) bool {