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: add role-based access control for bridge #1350

Closed tkxkd0159 closed 2 months ago

tkxkd0159 commented 2 months ago

Description

closes: #XXXX

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 69.52%. Comparing base (956d7a6) to head (3e332f7).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350/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/1350?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) ```diff @@ Coverage Diff @@ ## pjdp1 #1350 +/- ## ========================================== - Coverage 69.98% 69.52% -0.46% ========================================== Files 663 672 +9 Lines 55440 56107 +667 ========================================== + Hits 38800 39011 +211 - Misses 14407 14833 +426 - Partials 2233 2263 +30 ``` | [Files](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?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/1350?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==) | `80.06% <100.00%> (ø)` | | | [x/fbridge/types/codec.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?src=pr&el=tree&filepath=x%2Ffbridge%2Ftypes%2Fcodec.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL3R5cGVzL2NvZGVjLmdv) | `54.54% <50.00%> (ø)` | | | [x/fbridge/keeper/params.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?src=pr&el=tree&filepath=x%2Ffbridge%2Fkeeper%2Fparams.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL2tlZXBlci9wYXJhbXMuZ28=) | `83.33% <83.33%> (ø)` | | | [x/fbridge/types/msgs.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?src=pr&el=tree&filepath=x%2Ffbridge%2Ftypes%2Fmsgs.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL3R5cGVzL21zZ3MuZ28=) | `0.00% <0.00%> (ø)` | | | [x/fbridge/types/fbridge.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?src=pr&el=tree&filepath=x%2Ffbridge%2Ftypes%2Ffbridge.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL3R5cGVzL2ZicmlkZ2UuZ28=) | `0.00% <0.00%> (ø)` | | | [x/fbridge/types/params.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?src=pr&el=tree&filepath=x%2Ffbridge%2Ftypes%2Fparams.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL3R5cGVzL3BhcmFtcy5nbw==) | `42.42% <42.42%> (ø)` | | | [x/fbridge/keeper/keeper.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?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=) | `67.85% <70.00%> (+17.85%)` | :arrow_up: | | [x/fbridge/types/keys.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?src=pr&el=tree&filepath=x%2Ffbridge%2Ftypes%2Fkeys.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL3R5cGVzL2tleXMuZ28=) | `0.00% <0.00%> (ø)` | | | [x/fbridge/keeper/abci.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?src=pr&el=tree&filepath=x%2Ffbridge%2Fkeeper%2Fabci.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL2tlZXBlci9hYmNpLmdv) | `0.00% <0.00%> (ø)` | | | [x/fbridge/keeper/genesis.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?src=pr&el=tree&filepath=x%2Ffbridge%2Fkeeper%2Fgenesis.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL2tlZXBlci9nZW5lc2lzLmdv) | `10.34% <8.33%> (+10.34%)` | :arrow_up: | | ... and [4 more](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1350/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia)