Skip to content

Conversation

jimmygchen
Copy link
Member

@jimmygchen jimmygchen commented Feb 27, 2025

Issue Addressed

Taken from the #5481 branch, but with latest changes from holesky-rescue merged for testing on holesky.

Could potentially address #7053, in combination with --state-cache-size=4

@jimmygchen jimmygchen added do-not-merge v7.0.0-beta.clean Clean release post Holesky rescue labels Feb 27, 2025
@jimmygchen jimmygchen requested a review from jxs as a code owner February 27, 2025 06:04
@jimmygchen jimmygchen force-pushed the optimise-status-stable-beta-2 branch from fdaf607 to 40f69d7 Compare February 27, 2025 06:13
@jimmygchen jimmygchen changed the base branch from release-v7.0.0 to holesky-rescue February 27, 2025 06:13
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd forgotten how good this change was, it seems it already completely avoids state lookups ;)

@michaelsproul michaelsproul merged commit 9f15f31 into sigp:holesky-rescue Feb 27, 2025
26 of 29 checks passed
mergify bot pushed a commit that referenced this pull request Mar 10, 2025
This is a backport from `holesky-rescue`.

Part of:

- #7039

Original PR to `holesky-rescue`:

- #7054


  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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge v7.0.0-beta.clean Clean release post Holesky rescue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants