osmosis-labs / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Apache License 2.0
14 stars 32 forks source link

feat: specify module to export #336

Closed czarcas7ic closed 1 year ago

czarcas7ic commented 1 year ago

Closes: #XXX

What is the purpose of the change

There are situations in which a user may want to only export a specific module. For instance, if we just need balances, we only need the bank module exported. At the current moment, even if we only need one module's data, we are required to wait up to an hour to export the entire state. This PR allows a user to provide a comma separated list of modules they want to export as a flag.

Brief Changelog

Testing and Verifying

This change is already covered by existing tests

Documentation and Release Note