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

feat: implement fswap module's genesis and params #1339

Closed 170210 closed 2 months ago

170210 commented 2 months ago

Description

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

codecov[bot] commented 2 months ago

Codecov Report

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

:exclamation: No coverage uploaded for pull request base (pjdp1@6afe633). Click here to learn what that means.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339/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/1339?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) ```diff @@ Coverage Diff @@ ## pjdp1 #1339 +/- ## ======================================== Coverage ? 70.34% ======================================== Files ? 657 Lines ? 54977 Branches ? 0 ======================================== Hits ? 38675 Misses ? 14119 Partials ? 2183 ``` | [Files](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | Coverage Δ | | |---|---|---| | [simapp/app.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree&filepath=simapp%2Fapp.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-c2ltYXBwL2FwcC5nbw==) | `79.68% <100.00%> (ø)` | | | [x/fswap/keeper/keeper.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree&filepath=x%2Ffswap%2Fkeeper%2Fkeeper.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9rZWVwZXIva2VlcGVyLmdv) | `77.77% <100.00%> (ø)` | | | [x/fswap/types/genesis.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree&filepath=x%2Ffswap%2Ftypes%2Fgenesis.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC90eXBlcy9nZW5lc2lzLmdv) | `100.00% <100.00%> (ø)` | | | [x/fswap/types/keys.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree&filepath=x%2Ffswap%2Ftypes%2Fkeys.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC90eXBlcy9rZXlzLmdv) | `0.00% <ø> (ø)` | | | [x/fswap/types/params.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree&filepath=x%2Ffswap%2Ftypes%2Fparams.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC90eXBlcy9wYXJhbXMuZ28=) | `75.00% <100.00%> (ø)` | | | [x/fswap/simulation/genesis.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree&filepath=x%2Ffswap%2Fsimulation%2Fgenesis.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9zaW11bGF0aW9uL2dlbmVzaXMuZ28=) | `92.59% <92.59%> (ø)` | | | [x/fswap/keeper/fswap.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree&filepath=x%2Ffswap%2Fkeeper%2Ffswap.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9rZWVwZXIvZnN3YXAuZ28=) | `73.33% <73.33%> (ø)` | | | [x/fswap/keeper/genesis.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree&filepath=x%2Ffswap%2Fkeeper%2Fgenesis.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9rZWVwZXIvZ2VuZXNpcy5nbw==) | `55.55% <55.55%> (ø)` | | | [x/fswap/types/config.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree&filepath=x%2Ffswap%2Ftypes%2Fconfig.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC90eXBlcy9jb25maWcuZ28=) | `0.00% <0.00%> (ø)` | | | [x/fswap/types/fswap.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree&filepath=x%2Ffswap%2Ftypes%2Ffswap.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC90eXBlcy9mc3dhcC5nbw==) | `79.16% <79.16%> (ø)` | | | ... and [1 more](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1339?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | |