This PR provides a framework for defining software upgrade migration function, based on Osmosis' approach.
The PR also provides a unit test that submits a software upgrade gov prop. The gov prop defines a migration function that removes an existing account and inserts a new FP, and the test asserts corresponding state diff before and after the gov prop. This proves that the migration function can manipulate states.
Closes #700 Closes #701
This PR provides a framework for defining software upgrade migration function, based on Osmosis' approach.
The PR also provides a unit test that submits a software upgrade gov prop. The gov prop defines a migration function that removes an existing account and inserts a new FP, and the test asserts corresponding state diff before and after the gov prop. This proves that the migration function can manipulate states.