Submitted by berndartmueller, also found by abdulsamijay and Egis_Security
A Cosmos SDK app is set up in app/app.go, where all modules are wired up. Some of the steps include:
However, it has been observed that Mantras custom xfeemarket module is not properly registered. It is missing in the steps above. As a result, the modules CLI commands are not available and do not work. The message server is not registered, which prevents, for example, using the MsgUpsertFeeDenom and MsgRemoveFeeDenom messages to update the fee multipliers. The modules state is not exported or initialized in the genesis state.
This prevents the module from being fully functional, especially from configuring fee multipliers to be able to use various coin denoms as gas fees.
app/app.go#L308-L324
For example, storetypes.NewKVStoreKeys(..) registers all the store keys for the various modules. However, Mantras custom xfeemarket module is not included in that list.
To ensure that the custom xfeemarket module is fully functional, consider the following diff to wire up the module in app/app.go:
3docSec (judge) commented:
Lance Lan (MANTRA) acknowledged and commented:
berndartmueller (warden) commented:
3docSec (judge) commented:
