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

LC Updates by Range to read from DB #14531

Open
wants to merge 19 commits into
base: develop
Choose a base branch
from

Conversation

Inspector-Butters
Copy link
Contributor

What type of PR is this?

Feature

What does this PR do? Why is it needed?
This PR changes the GetLightClientUpdatesByRange API function to read the updates from the DB instead of computing them which is a very heavy process.

Which issues(s) does this PR fix?

Part of #12991

beacon-chain/rpc/eth/light-client/handlers.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
beacon-chain/rpc/eth/light-client/handlers_test.go Outdated Show resolved Hide resolved
@Redidacove
Copy link
Contributor

Redidacove commented Oct 15, 2024

I am not sure you missed them or are they intentional but I think they were there because you removed the fn call which returned err .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants