tendermint / spn

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

chore: improve test suite testutil/keeper by adding utility methods for state initialization #1019

Closed muku314115 closed 9 months ago

muku314115 commented 10 months ago

Closes #808

What does this PR do?

Code cleanup, adding utilities to reduce initialization code

How to test?

Checklist

These are the criteria that every PR should meet, please check them off as you review them:

codecov[bot] commented 10 months ago

Codecov Report

Merging #1019 (0b3c467) into main (a26d7c2) will decrease coverage by 0.02%. The diff coverage is n/a.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tendermint/spn/pull/1019/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://app.codecov.io/gh/tendermint/spn/pull/1019?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tendermint) ```diff @@ Coverage Diff @@ ## main #1019 +/- ## ========================================== - Coverage 71.38% 71.37% -0.02% ========================================== Files 218 218 Lines 9471 9471 ========================================== - Hits 6761 6760 -1 - Misses 2538 2539 +1 Partials 172 172 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/tendermint/spn/pull/1019/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tendermint)