Open GAtom22 opened 8 months ago
sorry for the delay, but the restore-app-db
command only supports rocksdb backend ;D
it's briefly mentioned here: https://github.com/crypto-org-chain/cronos/tree/main/versiondb#restore-iavl-tree
Because it uses some rocksdb specific feature to be faster, but it's trivial to support goleveldb, just insert the key-values in the normal way.
about the app hash mismatch, I guess it's because block 23's header includes app hash of block 22?
Describe the bug Getting error when trying to migrate from goleveldb to versionDB.
Error message:
To Reproduce Steps to reproduce the behavior:
Question: Am I missing a step before starting the node again?
Expected behavior Migration should be successful and the node should start from the corresponding height
Additional context
VersionDB commit used:
Noted also that the app hash is different when restoring the app db.
Here's the block info (app hash:
8D7912F77B21A378F3FE3C8CF8728E3F1F2C43CA0256343B2B0E68897F9F85B4
):And this is the output from the restore-app-db command: