thetatoken / theta-protocol-ledger

Reference implementation of the Theta Blockchain Ledger Protocol
https://docs.thetatoken.org/
GNU General Public License v3.0
362 stars 85 forks source link

issue while node execution due to upgradation #188

Open mishra-keshav opened 2 years ago

mishra-keshav commented 2 years ago

As I am working on privatenet of theta and developing own protocol over it. In progress of which I am facing an issue as I was using old version of code which was released in 2020 by theta and the time i update it now with latest commit my node is unable to start with db which got generated through old version code , is not able to run with latest upgrades of code.

As I inspect that earlier data is directly moved to normal db but right now it is accessing it through rolling db due to which i get an issue i.e "Failed to load last finalized block height".

jieyilong commented 2 years ago

Got it. Thanks for reporting the issue. Do you still need the data in the DB, or it is OK to restart from scratch using the latest code?

mishra-keshav commented 2 years ago

Yes I need to restore previous db with upgraded code. Please help