Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BreachOfProtocol on network id mismatch #7727

Open
arnetheduck opened this issue Nov 6, 2024 · 0 comments
Open

BreachOfProtocol on network id mismatch #7727

arnetheduck opened this issue Nov 6, 2024 · 0 comments

Comments

@arnetheduck
Copy link

In RLPx, BreachOfProtocol is used for malformed messages (invalid RLP) and other protocol violations.

However, when testing nimbus with nethermind it appears we're receiving it on networkid mismatch, ie when connecting a mainnet node to a holesky nethermind and vice versa. Normally, one would have expected a UselessPeer error.

return EthDisconnectReason.BreachOfProtocol;

Is this intentional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant