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

fix: add non-zero check of nextTokenID.Id for genesis #1276

Closed jaeseung-bae closed 5 months ago

jaeseung-bae commented 5 months ago

Description

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Checklist:

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 69.74%. Comparing base (3e087f8) to head (762d7b3). Report is 2 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1276/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/1276?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) ```diff @@ Coverage Diff @@ ## main #1276 +/- ## ========================================== - Coverage 69.74% 69.74% -0.01% ========================================== Files 643 643 Lines 67255 67261 +6 ========================================== + Hits 46906 46909 +3 - Misses 18176 18179 +3 Partials 2173 2173 ``` | [Files](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1276?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia) | Coverage Δ | | |---|---|---| | [x/collection/genesis.go](https://app.codecov.io/gh/Finschia/finschia-sdk/pull/1276?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Finschia#diff-eC9jb2xsZWN0aW9uL2dlbmVzaXMuZ28=) | `91.51% <80.00%> (-1.70%)` | :arrow_down: |