-
Notifications
You must be signed in to change notification settings - Fork 5
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
Broadcasting of invalid voluntary_exit
messages to mesh peers
#24
Comments
Great catch, which definitely deserves a deeper look! Two quick questions:
|
We can unsubscribe from the On the long run, could we copy the validation logic for this topic over to |
replying to @yiannisbot
Voluntary exits are messages with a rather short frequency, as they represent a validator sending their
If your score gets too low, it can actually affect other topics as well ->
I've applied the quick-fix for the night run I did locally. (fingers-crossed) If that improves the mesh connectivity, I'll add a quick patch and think of a more long-term solution. I thought that we could easily fetch the list of active validators right at the start of the tool from our trusted Prysm node and then start judging whether the exit is valid or not to modify that list on the go 🤷🏽 |
Description
We've seen that after 2 to 2.5 hours of running Hermes starts experiencing sudden spikes in the GRAFT and PRUNE events affecting all the topics.
Although we couldn't see any direct implication in the number of peers in each mesh, it is a clear concern that could point to a decreasing peerscore that could prevent us from establishing stable connections with other nodes on meshes.
Due to the lack of message validation on each PubSub topic, it is possible that our node is forwarding non-valid messages to our mesh nodes, decreasing our score.
This is something that has been already present at our control Prysm node, where
erigon/caplin
peers have been sending non-validvolintary_exits
.Possible Solution
Suggest to not subscribe to the
voluntary_exists
for now. The interest on debugging that particular topic is rather low, and seems to be isolated to only that one.The text was updated successfully, but these errors were encountered: