mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
chore(txpool): don't penalize FeeCapBelowMinimumProtocolFeeCap error (#2396)
This commit is contained in:
@@ -73,9 +73,11 @@ impl PoolError {
|
||||
false
|
||||
}
|
||||
PoolError::FeeCapBelowMinimumProtocolFeeCap(_, _) => {
|
||||
// fee cap of the tx below the technical minimum determined by the protocol: always
|
||||
// invalid
|
||||
true
|
||||
// fee cap of the tx below the technical minimum determined by the protocol, see
|
||||
// [MINIMUM_PROTOCOL_FEE_CAP](reth_primitives::constants::MIN_PROTOCOL_BASE_FEE)
|
||||
// although this transaction will always be invalid, we do not want to penalize the
|
||||
// sender because this check simply could not be implemented by the client
|
||||
false
|
||||
}
|
||||
PoolError::SpammerExceededCapacity(_, _) => {
|
||||
// spammer detected
|
||||
|
||||
Reference in New Issue
Block a user