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

feat: enable the interval to be updated #159

Closed
wants to merge 2 commits into from

Conversation

troykessler
Copy link
Member

This PR makes the snapshot interval updatable. It is important that this is a major release to ensure all protocol validators have this version, since it is a breaking change in case of an interval updating, possibly leading to invalid votes.

Context: The cosmos app always creates snapshots at a certain interval when the block height is divisible without remainder by the interval, to account for that when the interval changes we always search for the next block height in nextKey which fits this definition.

@troykessler troykessler self-assigned this Nov 14, 2024
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.

1 participant