You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way we can reuse any of the code for in place migrations? Maybe importing old state, migrating in place and exporting? Or is that too complicated?
That's probably a bit complicated. The easiest way would be just to extract shared logic into functions. An example: the split votes migration logic is basically this. Put this in a function, and then MigrateStore and MigrateJSON both call it.
Summary
ADR-041 introduces in-place store migrations, but we still maintain JSON dump migrations. Add them to v.043.
Problem Definition
JSON migrations stop at 0.40. There's no migration needed between 0.40-0.42 though. Next one is 0.43.
Proposal
Add JSON migration in the CLI
migrate
command for v0.43. On the top of my mind, these need to be migrated:Note that ADR-028 addresses don't need any JSON migration.
For Admin Use
The text was updated successfully, but these errors were encountered: