This repository was archived by the owner on Nov 15, 2023. It is now read-only.
MODULE_ID
should be configurable
#5149
Labels
J0-enhancement
An additional feature request.
Z1-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder
Z6-mentor
An easy task where a mentor is available. Please indicate in the issue who the mentor could be.
Some pallets introduce a
MODULE_ID
which is hard-coded into the runtime.These are usually used as a seed for generating a unique account id for those pallets to hold funds (like a POT).
This pattern is not flexible, and immediately makes it so that these pallets could not be made instantiable.
It would be better to have these as configuration traits, and even better, to have them auto-populated based on the
ModuleToString
: #5148The text was updated successfully, but these errors were encountered: