From 9d545adcb3d2b34c9de9df522932defcba6d8838 Mon Sep 17 00:00:00 2001 From: MariusVanDerWijden Date: Wed, 29 Apr 2026 16:32:15 +0200 Subject: [PATCH] core: txpool fix --- core/txpool/validation.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/txpool/validation.go b/core/txpool/validation.go index 284fc062fc..db8fdcf1f4 100644 --- a/core/txpool/validation.go +++ b/core/txpool/validation.go @@ -130,14 +130,6 @@ func ValidateTransaction(tx *types.Transaction, head *types.Header, signer types if err != nil { return err } - if gasCostPerStateByte != 0 { - // We require transactions to pay for 110% of intrinsic gas in order to - // prevent situations where a change in gas limit invalidates a lot - // of transactions in the txpool - if minGas := (intrGas.RegularGas * 10) / 9; tx.Gas() < minGas { - return fmt.Errorf("%w: gas %v, minimum needed %v", core.ErrIntrinsicGas, tx.Gas(), minGas) - } - } if tx.Gas() < intrGas.RegularGas { return fmt.Errorf("%w: gas %v, minimum needed %v", core.ErrIntrinsicGas, tx.Gas(), intrGas.RegularGas) }