-
Notifications
You must be signed in to change notification settings - Fork 353
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
Problem: potentially unneeded, deprecated and legacy functions in use #345
Conversation
Solution: Removed legacy API from supply module and unused code from chainmain module. Fixes crypto-org-chain#338.
/runsim |
Simulation tests started and triggered by |
Codecov Report
@@ Coverage Diff @@
## master #345 +/- ##
==========================================
+ Coverage 12.03% 12.13% +0.09%
==========================================
Files 35 32 -3
Lines 5349 5165 -184
==========================================
- Hits 644 627 -17
+ Misses 4453 4289 -164
+ Partials 252 249 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier { | ||
return func(ctx sdk.Context, path []string, req abci.RequestQuery) ([]byte, error) { | ||
switch path[0] { | ||
case types.QueryTotalSupply: |
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.
Are these queriers not used?
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 don't think so. @calvinaco can clarify.
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.
checked with @calvinaco -- this legacy one wasn't being used or planned to be used by third parties
✅ |
Solution: Removed legacy API from supply module and unused code from chainmain module. Fixes #338.