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
We need a way to test migrate functions are in sync with latest codebase.
Problem Definition
It is currently possible that changes are made to the codebase but migration scripts weren't updated based on new changes.
This causes migrations to fail during upgrade. Currently we have to test this manually to ensure upgrades aren't broken
Proposal
It would be nice to have a way to test this using cosmovisor. We can have binary of an older version of simapp in cosmovisor/testdata and use it to upgrade the chain to a latest version based on master. This should ensure migrations aren't broken.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Thanks @sahith-narahari! I did a manual upgrade once and found some bugs that were not caught/catchable by the SDKs integration tests. So definitely a +1 for cosmovisor tests 👍
Summary
We need a way to test migrate functions are in sync with latest codebase.
Problem Definition
It is currently possible that changes are made to the codebase but migration scripts weren't updated based on new changes.
This causes migrations to fail during upgrade. Currently we have to test this manually to ensure upgrades aren't broken
Proposal
It would be nice to have a way to test this using cosmovisor. We can have binary of an older version of simapp in cosmovisor/testdata and use it to upgrade the chain to a latest version based on master. This should ensure migrations aren't broken.
For Admin Use
The text was updated successfully, but these errors were encountered: