Add Other
variant to eth protocolmessage
#14656
Labels
A-networking
Related to networking in general
C-enhancement
New feature or request
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
it might be useful to extend the eth protocol message space on p2p, which currently isn't supported.
we can add support for this, but treat any unknown variant as a protocol error.
to do this we need to do some changes
reth/crates/net/eth-wire-types/src/message.rs
Line 373 in d39e24d
reth/crates/net/eth-wire-types/src/message.rs
Line 174 in d39e24d
update the decoding functions
and then treat any EthMessage::Other as a protocol violation for now
reth/crates/net/network/src/session/active.rs
Lines 255 to 257 in d39e24d
which should emit an disconnect error
cc @hai-rise
Additional context
No response
The text was updated successfully, but these errors were encountered: