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

server/v2: state pruning during export genesis #21633

Closed
akhilkumarpilli opened this issue Sep 10, 2024 · 0 comments · Fixed by #22681
Closed

server/v2: state pruning during export genesis #21633

akhilkumarpilli opened this issue Sep 10, 2024 · 0 comments · Fixed by #22681
Assignees
Labels
C:server/v2 Issues related to server/v2 T:Bug

Comments

@akhilkumarpilli
Copy link
Contributor

Below issue encountered when testing genesis export in v2:

  • When exporting genesis without specifying a height, the export takes place at the current node height. For example, if the node is stopped at height 8 and genesis is exported without specifying a height, it exports at height 8 without any issue.
  • Exporting genesis at an earlier height (e.g., height 2) succeeds, but the state after height 2 is pruned, and the node's latest height becomes 2.
  • If we try to export at a higher height (like 4) afterward, I encounter this error: error exporting state: failed to load SC version 4: wanted to load target 4 but only found up to 2.
@akhilkumarpilli akhilkumarpilli added the C:server/v2 Issues related to server/v2 label Sep 10, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Cosmos-SDK Sep 10, 2024
@github-actions github-actions bot added the needs-triage Issue that needs to be triaged label Sep 10, 2024
@julienrbrt julienrbrt added T:Bug and removed needs-triage Issue that needs to be triaged labels Sep 10, 2024
@julienrbrt julienrbrt self-assigned this Nov 28, 2024
@julienrbrt julienrbrt moved this from 📋 Backlog to 👀 Waiting / In review in Cosmos-SDK Nov 28, 2024
@github-project-automation github-project-automation bot moved this from 👀 Waiting / In review to 🥳 Done in Cosmos-SDK Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:server/v2 Issues related to server/v2 T:Bug
Projects
Status: 🥳 Done
Development

Successfully merging a pull request may close this issue.

2 participants