filecoin-project / go-state-types

Primitive and low level types used in chain state and actor method parameters
Other
25 stars 35 forks source link

v13 migration: Audit and clean up the two-stage cache utilization #250

Open arajasek opened 4 months ago

arajasek commented 4 months ago

Unlike previous migrations, the v13 migration has different behaviour depending on whether or not it's running in "cached" or "uncached" mode. This means that if, for some reason, the cache isn't correctly and completely populated in a previous migration ("pre-migration"), the result will be WRONG.

While this is still correct in the happy path, we need to robust-ify this. In particular, we should consider: