UnUniFi / chain

GNU General Public License v3.0
33 stars 14 forks source link

Upgrade 3.2-nftfactory, pob & ibc-hook #660

Closed Senna46 closed 1 year ago

Senna46 commented 1 year ago

This upgrade includes nftfactory, Skip-pob and ibc-hook

If merge #653 this time, edit app.go after the merge

Senna46 commented 1 year ago

It is incorrect to have a commission ratio of Int. 0.5%, etc. cannot be set.

This PR changes this Int to Dec.

Senna46 commented 1 year ago

Version error in _nftbackedloan store. I'm currently fixing this error. expected 166 got 0

Senna46 commented 1 year ago

Error

3:58PM ERR error on loading last version err="failed to load latest version: version of store _nftbackedloan mismatch root store's version; expected 31 got 0; new stores should be added using StoreUpgrades" module=server

Need to check why the store already exists

Senna46 commented 1 year ago

Error

3:58PM ERR error on loading last version err="failed to load latest version: version of store _nftbackedloan mismatch root store's version; expected 31 got 0; new stores should be added using StoreUpgrades" module=server

Need to check why the store already exists

nftbackedloan and nftfactory have different Storekey and ModuleName, so Storekey must be set correctly for StoreUpgrade. https://github.com/UnUniFi/chain/blob/b6bd53efb2d968f59f25db9d2b732ddc8e7ac1cb/app/upgrades/v3.2/constants.go#L19