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

Tendermint light client: add consensus state pruning on client update #600

Closed
Tracked by #554
plafer opened this issue Apr 3, 2023 · 0 comments · Fixed by #922
Closed
Tracked by #554

Tendermint light client: add consensus state pruning on client update #600

plafer opened this issue Apr 3, 2023 · 0 comments · Fixed by #922
Assignees
Labels
A: critical Admin: critical or Important O: new-feature Objective: aims to add new feature

Comments

@plafer
Copy link
Contributor

plafer commented Apr 3, 2023

ibc-go's tendermint light client prunes old consensus states that can no longer be used upon updating the client with a new consensus states. This is a great idea as it keeps the storage requirements of the light client constant over time.

Pruning on every update might be needlessly expensive though; we could even make the point where pruning runs configurable (e.g. every X days, or every Y block, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: critical Admin: critical or Important O: new-feature Objective: aims to add new feature
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants