NewPooledTransactionHashes uses incorrect size for blob transactions #4571
Labels
A-devp2p
Related to the Ethereum P2P protocol
A-networking
Related to networking in general
A-tx-pool
Related to the transaction mempool
C-bug
An unexpected or incorrect behavior
The
NewPooledTransactionHashes
message we broadcast uses the following method to populate the size associated with a transaction:reth/crates/net/network/src/transactions.rs
Lines 265 to 271 in 261a9f9
with implementation:
reth/crates/net/network/src/transactions.rs
Lines 733 to 744 in 261a9f9
This uses
PropagateTransaction
which only computes the size based on theTransactionSigned::length
. This is not accurate for blob transactions, which must account for the length of theBlobSidecar
as well, i.e. thePooledTransactionsElement
length is more appropriate.The text was updated successfully, but these errors were encountered: