besu icon indicating copy to clipboard operation
besu copied to clipboard

Size Mismatch for typed transactions due to RLP envelope inclusion

Open non-fungible-nelson opened this issue 2 years ago • 0 comments

Description

Context in discord

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.

non-fungible-nelson avatar Oct 27 '23 17:10 non-fungible-nelson