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: introduce new modules(fswap, fbridge) (backport #1352) #1357

Closed jaeseung-bae closed 2 months ago

jaeseung-bae 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 33.58876% with 520 lines in your changes are missing coverage. Please review.

Project coverage is 69.33%. Comparing base (0dd215b) to head (6c5104c).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357/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/1357?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 #1357 +/- ## =================================================== - Coverage 69.75% 69.33% -0.42% =================================================== Files 646 666 +20 Lines 67589 68371 +782 =================================================== + Hits 47144 47406 +262 - Misses 18255 18718 +463 - Partials 2190 2247 +57 ``` | [Files](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?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/1357?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==) | `82.28% <100.00%> (+0.71%)` | :arrow_up: | | [x/fswap/keeper/calc.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?src=pr&el=tree&filepath=x%2Ffswap%2Fkeeper%2Fcalc.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9rZWVwZXIvY2FsYy5nbw==) | `100.00% <100.00%> (ø)` | | | [x/fswap/keeper/keys.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?src=pr&el=tree&filepath=x%2Ffswap%2Fkeeper%2Fkeys.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9rZWVwZXIva2V5cy5nbw==) | `100.00% <100.00%> (ø)` | | | [x/fswap/handler.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?src=pr&el=tree&filepath=x%2Ffswap%2Fhandler.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9oYW5kbGVyLmdv) | `77.77% <77.77%> (ø)` | | | [x/fswap/types/config.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?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/fbridge/keeper/keeper.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?src=pr&el=tree&filepath=x%2Ffbridge%2Fkeeper%2Fkeeper.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL2tlZXBlci9rZWVwZXIuZ28=) | `52.94% <52.94%> (ø)` | | | [x/fswap/types/codec.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?src=pr&el=tree&filepath=x%2Ffswap%2Ftypes%2Fcodec.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC90eXBlcy9jb2RlYy5nbw==) | `40.00% <40.00%> (ø)` | | | [x/fswap/module\_simulation.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?src=pr&el=tree&filepath=x%2Ffswap%2Fmodule_simulation.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9tb2R1bGVfc2ltdWxhdGlvbi5nbw==) | `7.14% <7.14%> (ø)` | | | [x/fswap/keeper/msg\_server.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?src=pr&el=tree&filepath=x%2Ffswap%2Fkeeper%2Fmsg_server.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mc3dhcC9rZWVwZXIvbXNnX3NlcnZlci5nbw==) | `55.88% <55.88%> (ø)` | | | [x/fswap/types/genesis.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?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) | `32.00% <32.00%> (ø)` | | | ... and [11 more](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1357?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | |