besu
besu copied to clipboard
Size Mismatch for typed transactions due to RLP envelope inclusion
Description
Besu will improperly size transactions based on the inclusion of the RLP string envelope in typed transaction announcement. "In the network protocol, we send the txs in a RLP envelope and this has an overhead of 2-3 bytes (the length prefix). The spec doesn't say it clearly, but the intention was announcing the tx size without the length prefix, because the canonical tx format (the one we use in sendRawTransaction) does not have it."
Besu will need to be updated to not include the RLP string envelope for typed transactions into its size.