Finschia / finschia-sdk

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

feat: add ZKAuthMsgDecorator anteHandler for zkauth #1246

Closed zemyblue closed 6 months ago

zemyblue commented 6 months ago

Description

related: #1229

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

codecov[bot] commented 6 months ago

Codecov Report

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

:exclamation: No coverage uploaded for pull request base (feat/zkauth@6929a1d). 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/1246/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/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) ```diff @@ Coverage Diff @@ ## feat/zkauth #1246 +/- ## ============================================== Coverage ? 69.63% ============================================== Files ? 659 Lines ? 68192 Branches ? 0 ============================================== Hits ? 47486 Misses ? 18469 Partials ? 2237 ``` | [Files](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?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/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-c2ltYXBwL2FwcC5nbw==) | `82.66% <100.00%> (ø)` | | | [x/zkauth/types/config.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC96a2F1dGgvdHlwZXMvY29uZmlnLmdv) | `0.00% <ø> (ø)` | | | [x/zkauth/keeper/keeper.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC96a2F1dGgva2VlcGVyL2tlZXBlci5nbw==) | `69.01% <75.00%> (ø)` | | | [simapp/ante/ante.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-c2ltYXBwL2FudGUvYW50ZS5nbw==) | `70.00% <70.00%> (ø)` | | | [x/zkauth/ante/zkauth.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC96a2F1dGgvYW50ZS96a2F1dGguZ28=) | `70.00% <70.00%> (ø)` | | | [x/zkauth/types/address.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC96a2F1dGgvdHlwZXMvYWRkcmVzcy5nbw==) | `70.96% <70.96%> (ø)` | | | [x/zkauth/types/zkauth\_verify.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC96a2F1dGgvdHlwZXMvemthdXRoX3ZlcmlmeS5nbw==) | `50.00% <50.00%> (ø)` | | | [x/zkauth/types/msgs.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC96a2F1dGgvdHlwZXMvbXNncy5nbw==) | `36.76% <50.00%> (ø)` | | | [x/zkauth/types/zkauth\_inputs.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC96a2F1dGgvdHlwZXMvemthdXRoX2lucHV0cy5nbw==) | `57.76% <30.23%> (ø)` | | | [x/zkauth/types/jwks.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC96a2F1dGgvdHlwZXMvandrcy5nbw==) | `36.84% <36.84%> (ø)` | | | ... and [1 more](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1246?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | |