-
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 ledger custom coin type support bug #4716
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4716 +/- ##
==========================================
- Coverage 50.47% 50.46% -0.01%
==========================================
Files 288 288
Lines 18571 18572 +1
==========================================
Hits 9373 9373
- Misses 8509 8510 +1
Partials 689 689 |
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.
untested ACK
Would it be possible to add an additional test that uses this mock class with a different coin type and hrp? |
I would not say this is actually a bug but when custom coin types were added, it seems that tests where not extended to support them. It would be good to add test cases and test vectors too. It should be important to clarify, that originally this mock was done specifically for the current ledger nano app for cosmos. |
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.
blocking on the tests requested by @jleni
Bump |
@jleni I add some test code for the custom coin type. |
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, missing changelog entry. Please use clog add -i
@fedekunze done |
This PR will fix custom hrp usage and ledger test bug for custom coin type project.
Linked to github-issue with discussion and accepted design OR link to spec that describes this work.
Wrote tests
Updated relevant documentation (
docs/
)Added a relevant changelog entry:
clog add [section] [stanza] [message]
rereviewed
Files changed
in the github PR explorerFor Admin Use: