-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 zero coins #9229
fix zero coins #9229
Conversation
Tested commit |
Codecov Report
@@ Coverage Diff @@
## master #9229 +/- ##
==========================================
+ Coverage 60.06% 60.12% +0.06%
==========================================
Files 595 595
Lines 37355 37190 -165
==========================================
- Hits 22437 22361 -76
+ Misses 12929 12848 -81
+ Partials 1989 1981 -8
|
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
… into atheesh/fix-zero-coins
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.
Looks good. Left one more suggestion.
x/bank/keeper/keeper_test.go
Outdated
|
||
// add module accounts to supply keeper | ||
maccPerms := getModuleAccPerms() | ||
authKeeper := authkeeper.NewAccountKeeper( |
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.
I think you can add authKeepr and bank keeper constructor to the same function - it's always used and repeated next to the maccPerms.
* fix zero coins issue * fix tests * udpate tests * Review change Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * add change log * review changes * review changes Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> (cherry picked from commit f04b5dc) # Conflicts: # CHANGELOG.md # x/bank/keeper/genesis_test.go # x/bank/keeper/keeper.go # x/bank/keeper/keeper_test.go # x/bank/keeper/send.go
@AmauryM did we do a migration for this? i.e. are we deleting zero balances for chains upgrading to 0.43? |
Description
closes: #9159
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes