tendermint / spn

A blockchain to launch blockchains.
Other
112 stars 43 forks source link

refactor: avoid use paramset for `getParam` keeper method #998

Closed Pantani closed 1 year ago

Pantani commented 1 year ago

What does this PR do?

Fetch params from the launch without use the paramset

codecov[bot] commented 1 year ago

Codecov Report

Merging #998 (4efcf6f) into main (7e769a1) will decrease coverage by 0.00%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/tendermint/spn/pull/998/graphs/tree.svg?width=650&height=150&src=pr&token=GMSSU7SM3A&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tendermint)](https://codecov.io/gh/tendermint/spn/pull/998?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tendermint) ```diff @@ Coverage Diff @@ ## main #998 +/- ## ========================================== - Coverage 71.29% 71.28% -0.01% ========================================== Files 215 215 Lines 9468 9472 +4 ========================================== + Hits 6750 6752 +2 - Misses 2547 2548 +1 - Partials 171 172 +1 ``` | [Impacted Files](https://codecov.io/gh/tendermint/spn/pull/998?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tendermint) | Coverage Δ | | |---|---|---| | [x/campaign/keeper/params.go](https://codecov.io/gh/tendermint/spn/pull/998/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tendermint#diff-eC9jYW1wYWlnbi9rZWVwZXIvcGFyYW1zLmdv) | `100.00% <100.00%> (ø)` | | | [x/campaign/simulation/store.go](https://codecov.io/gh/tendermint/spn/pull/998/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tendermint#diff-eC9jYW1wYWlnbi9zaW11bGF0aW9uL3N0b3JlLmdv) | `83.10% <0.00%> (-1.36%)` | :arrow_down: |