Finschia / finschia-sdk

A framework for building blockchains based Finschia Mainnet that is forked from cosmos-sdk
Apache License 2.0
63 stars 30 forks source link

fix: export x/collection params into genesis #1268

Closed 0Tech closed 5 months ago

0Tech commented 6 months ago

Description

x/collection does not export its params into genesis. This patch addresses the problem.

Checklist:

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.41%. Comparing base (819a938) to head (9a102b4).

:exclamation: Current head 9a102b4 differs from pull request most recent head be49729. Consider uploading reports for the commit be49729 to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1268/graphs/tree.svg?width=650&height=150&src=pr&token=m16qfzIPO7&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia)](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1268?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) ```diff @@ Coverage Diff @@ ## main #1268 +/- ## ========================================== - Coverage 70.42% 70.41% -0.02% ========================================== Files 643 643 Lines 54701 54694 -7 ========================================== - Hits 38524 38513 -11 - Misses 14007 14009 +2 - Partials 2170 2172 +2 ``` | [Files](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1268?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | Coverage Δ | | |---|---|---| | [x/collection/keeper/genesis.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1268?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9jb2xsZWN0aW9uL2tlZXBlci9nZW5lc2lzLmdv) | `95.52% <100.00%> (+0.01%)` | :arrow_up: | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1268/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia)