node-binary icon indicating copy to clipboard operation
node-binary copied to clipboard

node-binary v0.8 out of sync; panic: version 109999000 was already saved to different hash

Open Alteryy opened this issue 4 years ago • 7 comments

panic: version 109999000 was already saved to different hash 3F673BCD84A9126D87D5ABDABC901751680C5A4E06F89C6367DE4DC239E36EB1 (existing hash 4EF631914204FFA3BFB34A5404C483E1A9224EB215CCF5FB9909F4E63B2EAB44)

Alteryy avatar Aug 29 '20 06:08 Alteryy

Hello, @Alteryy

  1. Download the tool state-recover from node-binary repo for fixing the upgrade issue
  2. Backup your home directory Since the height of the upgrade is set to be 109,999,000, you can run the following command to recover the state to just one block before the upgrade, which is 109,998,999 :
./state_recover 109998999 <your_home_path>
  1. Restart with the version v0.8.0 of bnbchaind
bnbchaind start --home <home-path>

chainwhisper avatar Aug 30 '20 02:08 chainwhisper

After all the exact steps, and use all the new .toml files in 0.8.0, still get this error

panic: version 109999000 was already saved to different hash 4875B3681A96B6A2C23B5263B0A54F4C63BD8EC59DE23058C830F6AE59AA570D (existing hash 4EF631914204FFA3BFB34A5404C483E1A9224EB215CCF5FB9909F4E63B2EAB44)

cedricfung avatar Aug 30 '20 10:08 cedricfung

Please note that we don't have the full blockchain, we used the state sync mode.

cedricfung avatar Aug 30 '20 10:08 cedricfung

same issue here

jessynt avatar Aug 30 '20 14:08 jessynt

After all the exact steps, and use all the new .toml files in 0.8.0, still get this error

panic: version 109999000 was already saved to different hash 4875B3681A96B6A2C23B5263B0A54F4C63BD8EC59DE23058C830F6AE59AA570D (existing hash 4EF631914204FFA3BFB34A5404C483E1A9224EB215CCF5FB9909F4E63B2EAB44)

Could you share your command to recover?

chainwhisper avatar Aug 31 '20 03:08 chainwhisper

@huangsuyu ./state_recover 109998999 /home/bnb/.bnbchaind

And I don't think it is the issue. Because I have tried to delete all the .bnbchaind, use the 0.8.0 configs, and start the 0.8.0 bnbchaind, all is fresh new, still errors in issue #242, and if I do the state_recover after #242, it produces #243

cedricfung avatar Aug 31 '20 03:08 cedricfung

I also encountered this problem @huangsuyu

panic: version 122613530 was already saved to different hash 9CF95CFF9DB65CF55664B4E50C8A2E0BC5BE8B1BDD8DF18BB13FC36091E7D041 (existing hash 9850204F51D0B0807958EF45D9D3FD76C0A0599F42D1EDE056891D8C89BC9CFD)

liuxh-go avatar Nov 10 '20 07:11 liuxh-go