go-ethereum/eth/protocols
Bosul Mun 38271784c2
Some checks are pending
/ Linux Build (arm) (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Keeper Build (push) Waiting to run
/ Docker Image (push) Waiting to run
/ Linux Build (push) Waiting to run
eth/protocols: fix Cells/GetCells RLP encoding (#35428)
This PR aligns the `Cells` and `GetCells` message implementations with
the spec: https://github.com/ethereum/devp2p/blob/master/caps/eth.md#getcells-0x14

Previously, `GetCellsPacket` and `CellsPacket` embedded `GetCellsRequest` 
and `CellsResponse`. This caused them to be encoded as nested lists, which
does not match the wire format defined by the spec. This PR inlines their fields
to flatten the RLP layout of `Cells` and `GetCells`.
2026-07-28 13:13:32 +08:00
..
eth eth/protocols: fix Cells/GetCells RLP encoding (#35428) 2026-07-28 13:13:32 +08:00
snap eth/protocols/eth: discard message before size check (#35289) 2026-07-14 09:06:57 -05:00