Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only validate root snapshot when loading file (#6057)
Currently, we validate the root snapshot every time we startup, meaning that for all startups after the first, we are validating the same thing that we wrote to disk. This causes a problem on v0.33, because some parts of the software expect a sealing segment of length 590+, and others expect a sealing segment of length 600+. In particular, this can cause a node to accept a root snapshot file when bootstrapping, then reject the root snapshot DB-backed object on subsequent startups, because the DB-backed snapshot is returning an invalid sealing segment.
- Loading branch information