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
Before we run upgrade to cosmos-sdk v0.50 in our mainnet, we fork current mainnet to a testnet with fully data of our mainnet. The purpose of this is that we want to upgrade in our fork-mainnet (testnet) first to see if we got error.
We run e2e-upgrade script first to check if there is error or not and it work without errors but when we try to upgrade to cosmos-sdk v0.50 in our testnet, the error is show up:
The error come up because when in old version, mint params we set have max inflation less than min inflation. When upgrade chain to cosmos-sdk v0.50, when reach logic migrate mint module, it come with error when validate old mint params.
To fix this error, in upgrade chain handler logic, we get mint params first and then set max inflation equal to min inflation, set this modified params back to store.
Context
Before we run upgrade to cosmos-sdk v0.50 in our mainnet, we fork current mainnet to a testnet with fully data of our mainnet. The purpose of this is that we want to upgrade in our fork-mainnet (testnet) first to see if we got error.
We run e2e-upgrade script first to check if there is error or not and it work without errors but when we try to upgrade to cosmos-sdk v0.50 in our testnet, the error is show up:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The upgrade process pass and node start to commit block.
Additional context
RegisterServices
m.Migrate1to2
Migrate1to2
fucntion, it get mint param then validate it. The error come up at line 31The text was updated successfully, but these errors were encountered: