thetatoken / theta-mainnet-integration-guide

Documents and demos to facilitate Theta mainnet integration
https://docs.thetatoken.org/
43 stars 17 forks source link

Snapshot validation failed #26

Open convernaticspeter opened 3 years ago

convernaticspeter commented 3 years ago

Hi there,

was following this: https://github.com/thetatoken/theta-mainnet-integration-guide/blob/master/docs/mainnet.md

When trying to start the node, I get a fatal error. FATA[0022] Snapshot validation failed, err: Failed to load snapshot metadata, rlp: too few elements for core.SnapshotFirstBlock, decoding into (core.SnapshotMetadata).ProofTrios[1].First

Seems like the Snapshot under https://mainnet-data.thetatoken.org/snapshot causes issues?

convernaticspeter commented 3 years ago

Hi there, I did the whole thing again, but still get the same error: FATA[0007] Snapshot validation failed, err: Failed to load snapshot metadata, rlp: too few elements for core.SnapshotFirstBlock, decoding into (core.SnapshotMetadata).ProofTrios[1].First

I am running Ubuntu 20.04 with CLI and followed this guide: https://github.com/thetatoken/guardian-mainnet-guide/blob/master/docs/CLI.md#running-a-guardian-node-through-command-line

It seems like the Snapshot-file is missing something

RedPlumpTomato commented 3 years ago

Has anyone found a fix for this? I followed all instructions but got the same error FATA[0022] Snapshot validation failed, err: Failed to load snapshot metadata, rlp: too few elements for core.SnapshotFirstBlock, decoding into (core.SnapshotMetadata).ProofTrios[1].First

Running Ubuntu 20.04.1 LTS . I tried exact same steps on another similar VM , same issue.

As a side note, I had this running on Ubuntu 19.10 but, after upgrade, I can't start theta guardian due to above error.