Finschia / finschia-sdk

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

test: add cli_test for fswap module (backport #1391) #1399

Closed mergify[bot] closed 1 month ago

mergify[bot] commented 1 month ago

Description

closes: #XXXX

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 99.60159% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 69.37%. Comparing base (de3499f) to head (2b9f101). Report is 2 commits behind head on release/v0.49.x.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1399/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/1399?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) ```diff @@ Coverage Diff @@ ## release/v0.49.x #1399 +/- ## =================================================== + Coverage 69.04% 69.37% +0.32% =================================================== Files 671 675 +4 Lines 69299 70052 +753 =================================================== + Hits 47846 48597 +751 Misses 19167 19167 - Partials 2286 2288 +2 ``` | [Files](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1399?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | Coverage Δ | | |---|---|---| | [x/fswap/client/testutil/query.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1399?src=pr&el=tree&filepath=x%2Ffswap%2Fclient%2Ftestutil%2Fquery.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9jbGllbnQvdGVzdHV0aWwvcXVlcnkuZ28=) | `100.00% <100.00%> (ø)` | | | [x/fswap/client/testutil/suite.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1399?src=pr&el=tree&filepath=x%2Ffswap%2Fclient%2Ftestutil%2Fsuite.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9jbGllbnQvdGVzdHV0aWwvc3VpdGUuZ28=) | `100.00% <100.00%> (ø)` | | | [x/fswap/client/testutil/tx.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1399?src=pr&el=tree&filepath=x%2Ffswap%2Fclient%2Ftestutil%2Ftx.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9jbGllbnQvdGVzdHV0aWwvdHguZ28=) | `100.00% <100.00%> (ø)` | | | [x/fswap/client/testutil/grpc.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1399?src=pr&el=tree&filepath=x%2Ffswap%2Fclient%2Ftestutil%2Fgrpc.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9jbGllbnQvdGVzdHV0aWwvZ3JwYy5nbw==) | `98.46% <98.46%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1399/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia)