-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
Vouch cannot attest via Lodestar #6419
Comments
Based on the logs, the request that fails is getAggregatedAttestation, this should only affect aggregates and not attestations. I've seen this issue before when running Lighthouse VC <> Lodestar BN (#5553) and it happened because the VC requested an aggregate for a slot and data_root but didn't previously submit the attestation for the same via In the end, we fixed the issue on the Lighthouse side (sigp/lighthouse#4774). I can't think of any change why this would start happening now, maybe there was a change in Vouch behavior? My initial guess would be that Vouch submits the attestation to only one of the connected BNs but fetches aggregates from multiple? |
Thanks. Spoke with Jim, I'm getting Vouch trace logs. On the Lodestar side, I tested it on 1.13.0 as well and see it there. |
Thanks for confirming this, and helping debugging the issue. We really need to look into running Vouch ourselves or even better, include it in our sim tests. |
To make this more fun, it's intermittent. Which suggests a race condition / timing / latency thing? |
It's unlikely as there is a ~4 second delay between submitting the attestation and requesting an aggregate. The Lodestar debug logs could provide more insights on this as we would see the timings of REST API calls. |
I think have a good guess now on why this happens assuming Vouch implements a similar behavior to what Nimbus does #6634 (comment). (maybe @mcdee could quickly confirm this, haven't gotten around to review Vouch code yet) So why is it just intermittent? As outlined in the linked comment, while this would never happen if Vouch always submits the attestation to all connected bns, it might also not happen if Lodestar bn received the attestation via gossip published by another node of the same fallback / multi node setup. But this is not guaranteed to be the case and is essentially a race between gossip (+ preparing the aggregate) and the REST API call, hence we are seeing this error intermittently. The good news is that it's not an actual issue and just noisy logs which will be improved (#6648) in our next release. I would expect that Vouch was able to publish the aggregate attestation as it received the aggregate from another (primary) node. |
Vouch uses a submitter strategy to know where to send data. If this is configured by the user to send to all nodes (the |
Thanks for the clarification, this could be easily confirmed by looking at Lodestar bn debug logs as we would see the |
A fix #6668 has been included in our latest release v1.18.0, feel free to reopen if you can still observe this issue.
Looks all good from Vouch side, this was a bug in Lodestar |
Describe the bug
Our Vouch 1.7 shows the Lodestar CLs as not available for attestations. We haven't tracked this down as to which Lodestar version may have caused a change in behavior.
Please let us know what we can get you to narrow this down.
Expected behavior
Vouch works with Lodestar
Steps to reproduce
Configure Lodestar Ethereum node, and Vouch pointed at it and at least one other CL
Additional context
Logs from Lodestar:
Operating system
Linux
Lodestar version or commit hash
v1.5.0 and v1.5.1 tested
The text was updated successfully, but these errors were encountered: