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

Optimise status processing #7082

Open
wants to merge 1 commit into
base: release-v7.0.0
Choose a base branch
from

Conversation

michaelsproul
Copy link
Member

@michaelsproul michaelsproul commented Mar 6, 2025

Issue Addressed

This is a backport from holesky-rescue.

Part of:

Original PR to holesky-rescue:

Proposed Changes

Avoid doing database lookups for slots that lie in the hot database when processing status messages. This avoids a DoS vector during non-finality, as loading hot states to iterate block roots is very expensive.

This is a backport from `holesky-rescue`.

Co-authored-by: Jimmy Chen <[email protected]>
@michaelsproul michaelsproul added ready-for-review The code is ready for review v7.0.0 New release c. Q1 2025 v7.0.0-beta.clean Clean release post Holesky rescue labels Mar 6, 2025
@michaelsproul michaelsproul requested a review from jxs as a code owner March 6, 2025 03:18
@michaelsproul michaelsproul mentioned this pull request Mar 6, 2025
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review The code is ready for review v7.0.0-beta.clean Clean release post Holesky rescue v7.0.0 New release c. Q1 2025
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant