Skip to content

Conversation

@michaelsproul
Copy link
Member

Issue Addressed

Closes:

Proposed Changes

Sign attestations prior to checking them against the slashing protection DB. This allows us to avoid the sequential DB checks which are observed in traces here:

Additional Info

This PR builds on:

This is a rework of Eitan's PR:

I started by trying to resolve merge conflicts, but there were so many breakages I ended up redoing it. I also left out some of the other changes (like the AttestationDataService) as we are probably going to introduce a new version of that in the course of implementing the head monitor + consensus service, see:

@michaelsproul michaelsproul added val-client Relates to the validator client binary optimization Something to make Lighthouse run more efficiently. labels Dec 2, 2025
@eserilev eserilev self-requested a review December 2, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

optimization Something to make Lighthouse run more efficiently. val-client Relates to the validator client binary

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants