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: save sequence for every bridge request #1351

Closed tkxkd0159 closed 2 months ago

tkxkd0159 commented 2 months ago

Description

closes: #XXXX

We decided to save sequence for every bridge request to help relayers when they retrieve bridge events

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

codecov[bot] commented 2 months ago

Codecov Report

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

:exclamation: No coverage uploaded for pull request base (pjdp1@7b421db). 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/1351/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/1351?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) ```diff @@ Coverage Diff @@ ## pjdp1 #1351 +/- ## ======================================== Coverage ? 70.21% ======================================== Files ? 662 Lines ? 55161 Branches ? 0 ======================================== Hits ? 38730 Misses ? 14239 Partials ? 2192 ``` | [Files](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1351?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | Coverage Δ | | |---|---|---| | [x/fbridge/keeper/transfer.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1351?src=pr&el=tree&filepath=x%2Ffbridge%2Fkeeper%2Ftransfer.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL2tlZXBlci90cmFuc2Zlci5nbw==) | `74.54% <83.33%> (ø)` | | | [x/fbridge/keeper/genesis.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1351?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) | `0.00% <0.00%> (ø)` | | | [x/fbridge/keeper/grpc\_query.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1351?src=pr&el=tree&filepath=x%2Ffbridge%2Fkeeper%2Fgrpc_query.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9mYnJpZGdlL2tlZXBlci9ncnBjX3F1ZXJ5Lmdv) | `0.00% <0.00%> (ø)` | |