check not only 1559 but also 4844 and 7702 for min_priority_fee checking in txpool validation (#15009)

This commit is contained in:
Pana
2025-03-13 23:53:49 +08:00
committed by GitHub
parent 18b1c7c819
commit cd55468cb6

View File

@@ -280,7 +280,7 @@ where
// Drop non-local transactions with a fee lower than the configured fee for acceptance into
// the pool.
if !self.local_transactions_config.is_local(origin, transaction.sender_ref()) &&
transaction.is_eip1559() &&
transaction.is_dynamic_fee() &&
transaction.max_priority_fee_per_gas() < self.minimum_priority_fee
{
return TransactionValidationOutcome::Invalid(