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

chore: add additional testcases for fswap (backport #1415) #1420

Closed mergify[bot] closed 3 months ago

mergify[bot] commented 3 months ago

Description

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

mergify[bot] commented 3 months ago

Cherry-pick of 10726cfaffbbb4f786e0a7503dfe59aee8527812 has failed:

On branch mergify/bp/release/v0.49.x/pr-1415
Your branch is up to date with 'origin/release/v0.49.x'.

You are currently cherry-picking commit 10726cfaf.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
    modified:   x/fswap/keeper/genesis_test.go
    modified:   x/fswap/keeper/grpc_query_test.go
    modified:   x/fswap/keeper/keeper_test.go
    modified:   x/fswap/keeper/msg_server_test.go
    new file:   x/fswap/types/config_test.go
    modified:   x/fswap/types/genesis_test.go
    modified:   x/fswap/types/msgs_test.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
    both modified:   CHANGELOG.md

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 68.08%. Comparing base (af1a1a1) to head (ee0d4c3). Report is 1 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/1420/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/1420?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 #1420 +/- ## =================================================== + Coverage 67.90% 68.08% +0.17% =================================================== Files 770 770 Lines 77606 77606 =================================================== + Hits 52701 52840 +139 + Misses 22229 22097 -132 + Partials 2676 2669 -7 ``` [see 7 files with indirect coverage changes](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1420/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia)