axone-protocol/axoned

๐Ÿ’ธ Mint: remove deprecated `x/param` from mint module

bdeneux opened this issue ยท 0 comments

๐Ÿ“ Purpose

The mint module use old deprecated x/param module to store the module parameters. As recommended by cosmos, we need to migrate all our modules param into the state of the module. PR and exemple is given for the x/mint module of cosmos chain: https://github.com/cosmos/cosmos-sdk/blob/v0.46.1/UPGRADING.md#xparams

This has been already done in #313 for the x/logic module.

๐Ÿ“‹ Todo

  • Implement store param from x/mint state module
  • Update proto with MsgUpdateParam transaction
  • Implement MsgUpdateParam tx
  • Add migration script to migrate param from x/param module to x/mint state
  • Update docs

๐Ÿงช Tests

  • Param access
  • Migration
  • Governance proposal to update param