-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Incorrect voting of head #5665
Comments
I have a validator client with 1 validator running that is constantly voting incorrectly on the head but is mostly voting correct on target and source and almost always fulfilling its attestation duties. Maybe a time offset might be a reason? I have just figured out that this system time is 3s behind. |
Brainstormed a few conditions: I think it's a mixture between 1 and 2. Will collect more data points |
Time offset is one of the root cause here. See: https://discordapp.com/channels/476244492043812875/667761857209040916/704908725185544192 With that said, Im not satisfied as the only root cause. Will dig more into this today |
The is the reason: https://hackmd.io/dVbmIMHNQ6aby77g0-ME8A?both Still working on it |
As mentioned in previous comment. Beacon block propagation is the root cause here. This is not a protocol issue. The question we need to answer here is "why some blocks arrive later than 6s?" Will leave this open and monitor through out the week. |
It keeps getting worse. Now also my validators on my Intel Nuc are mostly (about 70%, validators changing) voting on incorrect heads. My Internet connection is stable and has high bandwidth. It was perfectly fine on my Intel nuc for the first 1.5 weeks. Upping my max peer count from default to 60 now. |
@Phistr90 the issue here is not from your node, it's rest of the nodes your node peered with. What do you see with the following metric? |
@terencechain Which metric? |
block_arrival_latency_milliseconds histogram Reference: #5708 |
Needed to rebuild and restart. Will collect more data but this looks like I am getting a lot of late blocks. Also I noticed it takes a really really long time for my node to connect to a handful of peers. |
A lot of late blocks indeed. 10% of my blocks are 4s+ and I considered that to be bad. Preston's 4s+ blocks is 5% and his internet is much faster than mine. @Phistr90 can you open a feature request for 'number of hops'? I'm going to close this issue and open subsequent issues to track late blocks. What we learned from this issue: |
💎 Issue
Background
There has been increasing amount of users brought up the concern that validators incorrectly voted on head. While this issue could be expected for multiple reasons. It's still worth to double check and narrow down the root cause. On average I do see my validators voted head incorrectly ~10-15% Whether it's local view of the chain is consistently not canonical thus the head is wrong or something else. Opening this up for investigation and discussion
The text was updated successfully, but these errors were encountered: