Skip to content

Compute roots for unfinalized by_range requests with fork-choice #7098

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

Merged
merged 6 commits into from
Apr 7, 2025

Conversation

dapplion
Copy link
Collaborator

@dapplion dapplion commented Mar 10, 2025

jimmygchen and others added 5 commits March 10, 2025 02:20
…ByRange` requests (sigp#7058)

* Load block roots from fork choice where possible to avoid loading state from disk when serving block by range requests.

* Check if the start slot is newer than finalization (`start_slot >= finalized_slot`), and use fork choice in that case.
sigp#7066)

* handle bbr across finalized slot gracefully

* sort deps

* Michael's off-by-one corrections

---------

Co-authored-by: Michael Sproul <[email protected]>
@dapplion dapplion requested a review from jxs as a code owner March 10, 2025 06:25
@dapplion dapplion added ready-for-review The code is ready for review v7.0.0 New release c. Q1 2025 labels Mar 10, 2025
@michaelsproul michaelsproul mentioned this pull request Mar 10, 2025
14 tasks
@michaelsproul michaelsproul added v7.0.0-beta.clean Clean release post Holesky rescue optimization Something to make Lighthouse run more efficiently. labels Mar 23, 2025
@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Apr 7, 2025
mergify bot added a commit that referenced this pull request Apr 7, 2025
@mergify mergify bot merged commit d511ca0 into sigp:release-v7.0.0 Apr 7, 2025
31 checks passed
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. ready-for-merge This PR is ready to merge. 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.

4 participants