-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate whether we can match Lotus' snapshots byte-for-byte #1884
Comments
Apparently the unexplained forks also happen with snapshots from Lotus. However, this issue is still important as we would like to prove that our snapshots are valid (and equivalent to those from Lotus). |
The fork issue turned out to be unrelated to how we're generating snapshots. I will close this issue for now since it's not a big priority anymore. Byte-for-byte identical snapshots would be nice but it's definitely not necessary. May re-open this in the future if things change. |
Re-opening with low priority. |
Steps to get result:
|
Problem is the files--although they are relatively similar in size--differ at byte 1, line 1, and using the |
They definitely won't match if the snapshots aren't for the same epoch. |
Is there a way to ensure that the snapshots are exported at the same epoch? |
We should not expect the snapshots to match. Forest logic differs from Lotus in the So the first step towards the direction of snapshot identity would be to match the logic in this method. |
Great! So they're like 99.9% identical? Have a chat with @LesnyRumcajs about the differences between our walk function and theirs. There might be a simple way to go from 99.9% identical to 100% identical. |
Issue summary
Both Lotus and Forest has the ability to generate snapshots. However, it has come to light that Forest snapshots fail after a day or two due to unexplained forks in the blockchain. Therefore our snapshots must be different from the snapshots from Lotus and we need to figure out why.
Tasks:
Other information and links
Lotus snapshots for calibnet: https://cloud.digitalocean.com/spaces/forest-snapshots?i=88c522&path=lotus-calibnet%2F
The text was updated successfully, but these errors were encountered: