CodeChain-io / CodeChain-io/foundry

Panic if the version of backup data is higher than the current code version

Open
#67 0 comments 0 reactions 0 assignees View on GitHub
consensus
Dominant language
Rust
Stars
36
Forks
11
PR merge metrics
No merged PRs in 30d

Description

CodeChain saves the version of tendermint backup data. If the backup data's version is later than the code's version, CodeChain should stop and should not remove the backup data.

Contributor guide

Open the contributing guide

Research direction

Locate the code that reads the saved Tendermint backup-data version and compare it with the current code version. Add a regression test for a backup version that is higher than the code version; done means CodeChain stops without removing that backup data.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.