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

Export state for zero height #356

Open
alpe opened this issue Apr 29, 2022 · 0 comments
Open

Export state for zero height #356

alpe opened this issue Apr 29, 2022 · 0 comments
Labels
L Large task (4-10 days work) non_breaking

Comments

@alpe
Copy link
Contributor

alpe commented Apr 29, 2022

With a zero height export the genesis would be exported with a state that allows to launch a new chain with a new validator set. This can be very useful for recovering or to setup testnets that are based on some production data.

To achieve this all in flight data and state that relates to validators need to be cleaned up. For example unclaimed rewards or unbonded state should be claimed automatically. The cosmos-sdk code is a good resource to start looking at. Although for us this needs to go into PoE and contracts.

This was descoped from #50

@alpe alpe added the L Large task (4-10 days work) label Apr 29, 2022
@alpe alpe added this to the Tgrade - "Post Mainnet" milestone May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L Large task (4-10 days work) non_breaking
Projects
None yet
Development

No branches or pull requests

1 participant