-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add non-zero check of nextTokenID.Id for genesis #1276
fix: add non-zero check of nextTokenID.Id for genesis #1276
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ 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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better to update ValidateGenesis(), not InitGenesis().
* fix: add non-zero check of nextTokenID.Id for genesis * chore: add testcase * chore: update changelog * chore: move validation logic to validate function * chore: add testcase (cherry picked from commit 47a5e9f) # Conflicts: # CHANGELOG.md
#1282) * fix: add non-zero check of nextTokenID.Id for genesis (#1276) * fix: add non-zero check of nextTokenID.Id for genesis * chore: add testcase * chore: update changelog * chore: move validation logic to validate function * chore: add testcase (cherry picked from commit 47a5e9f) # Conflicts: # CHANGELOG.md * Update CHANGELOG.md Co-authored-by: 170210 <85928898+170210@users.noreply.github.com> * chore: update changelog --------- Co-authored-by: jaeseung-bae <119839167+jaeseung-bae@users.noreply.github.com> Co-authored-by: jaeseung.bae <jaeseung.bae@linecorp.com> Co-authored-by: 170210 <85928898+170210@users.noreply.github.com>
Description
tokenID
in GenesisMotivation and context
How has this been tested?
Screenshots (if appropriate):
Checklist:
CHANGELOG.md
client/docs/swagger-ui/swagger.yaml