open-runtime-module-library
open-runtime-module-library copied to clipboard
Expose ExistentialDeposits as constant
Downstream systems need an easy way to query these, not sure if this is currently possible since the Config
type parameter is not a constant so won't be included in the pallet metadata.
The main issue is that it is not really a constant for Acala https://github.com/AcalaNetwork/Acala/blob/35078ea2b2d0e3a3937a075c54d94c77faea2f36/runtime/acala/src/lib.rs#L770-L793
Even if they are constant, I am not sure what's the best way to expose a Key Value mapping via metadata
Perhaps we can expose some RPC call for this instead? Would definitely be useful for wallets and other integrations.
Yep that will be a good solution.