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

Add light block to trusted store when missing #452

Closed
colin-axner opened this issue Mar 10, 2021 · 0 comments · Fixed by #453
Closed

Add light block to trusted store when missing #452

colin-axner opened this issue Mar 10, 2021 · 0 comments · Fixed by #453
Assignees

Comments

@colin-axner
Copy link
Contributor

When a light block is not found, we should pull the header and have the light client verify it and add it to the trusted store. This should fix the majority of the light block not found errors and greatly fix the UX

Specifically here, if the trusted light block is missing, we want to update the light client at that height by getting the header from the connected full node and verifying the header. This will prevent this error from occurring when a client is to be updated

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 a pull request may close this issue.

2 participants