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

Open
akhilkumarpilli opened this issue Sep 10, 2024 · 0 comments
Open

server/v2: state pruning during export genesis #21633

akhilkumarpilli opened this issue Sep 10, 2024 · 0 comments
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-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
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: 📋 Backlog
Development

No branches or pull requests

2 participants