Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: specify module to export #336

Merged
merged 4 commits into from
Oct 1, 2022
Merged

Conversation

czarcas7ic
Copy link
Member

@czarcas7ic czarcas7ic commented Oct 1, 2022

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

  • Adds a flag to export to provide comma separated list of modules that the user wants exported.

Testing and Verifying

This change is already covered by existing tests

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes? no
  • Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? no
  • How is the feature or change documented? not applicable

@czarcas7ic czarcas7ic marked this pull request as ready for review October 1, 2022 18:58
@czarcas7ic czarcas7ic requested a review from a team October 1, 2022 18:58
@czarcas7ic czarcas7ic merged commit 6849de6 into osmosis-main Oct 1, 2022
@czarcas7ic czarcas7ic deleted the adam/specify-module-export branch October 1, 2022 19:04
mergify bot pushed a commit that referenced this pull request Oct 1, 2022
* module export implementation

* part 2

* change order

* add modulesToExport instead of blank string

(cherry picked from commit 6849de6)
czarcas7ic added a commit that referenced this pull request Oct 1, 2022
* module export implementation

* part 2

* change order

* add modulesToExport instead of blank string

(cherry picked from commit 6849de6)

Co-authored-by: Adam Tucker <adam@osmosis.team>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants