-
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
feat: expose HasMetadata on bank Keeper #10134
Conversation
Visit https://dashboard.github.orijtech.com?back=0&pr=10134&remote=false&repo=cosmos%2Fcosmos-sdk to see benchmark details. |
Codecov Report
@@ Coverage Diff @@
## master #10134 +/- ##
==========================================
- Coverage 63.62% 63.61% -0.02%
==========================================
Files 573 572 -1
Lines 53606 53575 -31
==========================================
- Hits 34109 34081 -28
+ Misses 17550 17548 -2
+ Partials 1947 1946 -1
|
why is the linter suddenly failing? |
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.
ACK, but you don't really need this API. You can also do:
if _, ok := k.bankKeeper.GetDenomMetaData(ctx, baseDenom); !ok {
// ...
}
true @alexanderbez, although |
Fair point! |
Add
HasMetaData
to bank keeper API.Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
docs:
prefix in the PR titleReviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
docs:
prefix in the PR title