-
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 init logic of module accounts just in case #1277
fix: add init logic of module accounts just in case #1277
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1277 +/- ##
=======================================
Coverage 69.74% 69.74%
=======================================
Files 643 643
Lines 67261 67266 +5
=======================================
+ Hits 46909 46914 +5
Misses 18179 18179
Partials 2173 2173
|
You mean, this may have a negative impact on mainnet? |
A newly joined node that tries to sync with our operating node can never sync, because they may have different account number state.
|
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.
LGTM
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.
LGTM
* fix: add init logic of module accounts just in case * chore: update changelog * chore: check if module account successfully created * chore: fix lint * chore: add test * chore: fix test (cherry picked from commit 089aff8) # Conflicts: # CHANGELOG.md # x/foundation/keeper/internal/genesis_test.go
…1283) * fix: add init logic of module accounts just in case (#1277) * fix: add init logic of module accounts just in case * chore: update changelog * chore: check if module account successfully created * chore: fix lint * chore: add test * chore: fix test (cherry picked from commit 089aff8) # Conflicts: # CHANGELOG.md # x/foundation/keeper/internal/genesis_test.go * Apply suggestions from code review --------- Co-authored-by: jaeseung-bae <[email protected]> Co-authored-by: Youngtaek Yoon <[email protected]>
Description
NOTE: This is likely to change account number state in auth module.--> InitGenesis never runs more than onceMotivation and context
How has this been tested?
Screenshots (if appropriate):
Checklist:
CHANGELOG.md
client/docs/swagger-ui/swagger.yaml