-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
crypto/hd: add 'm/' prefix to hd path #7977
Conversation
Codecov Report
@@ Coverage Diff @@
## launchpad/backports #7977 +/- ##
=======================================================
+ Coverage 50.28% 50.29% +0.01%
=======================================================
Files 338 338
Lines 17560 17570 +10
=======================================================
+ Hits 8830 8837 +7
- Misses 7937 7940 +3
Partials 793 793 |
This pull request fixes 1 alert when merging 186a352 into 7b152b3 - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging 323988f into 36ff5ca - view on LGTM.com fixed alerts:
|
crypto/keys/hd/hdpath_test.go
Outdated
// INVALID | ||
// INVALID | ||
// |
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.
@fedekunze this was a testable example, you turned it into a standard test case (ExampleSomeBIP32TestVecs()
-> TestBIP32Vecs(t *testing.T)
). Mind elaborating why?
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.
what's the purpose of a testable example?
This pull request fixes 1 alert when merging 52b9730 into 69f6ec2 - view on LGTM.com fixed alerts:
|
Ensures that we catch regressions in functional code the way the callers of
the APIs will experience it, also aids in ease documentation without code
going out of date when code changes.
…On Thu, Nov 19, 2020 at 4:28 AM Federico Kunze ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In crypto/keys/hd/hdpath_test.go
<#7977 (comment)>:
> - // INVALID
- // INVALID
//
what's the purpose of a testable example?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#7977 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFL3V3ZPIMPT2TKCFXS5X3SQUFOBANCNFSM4T2L7TEQ>
.
|
This pull request fixes 1 alert when merging 65fcb82 into 69f6ec2 - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging cbb8ff4 into 69f6ec2 - view on LGTM.com fixed alerts:
|
@ethanfrey @clevinson your approval is required here |
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
The original issue was filed against Ethermint:
cosmos/ethermint#605
Thanks: @xiangjianmeng for the original bug report.
From: #7970
Closes: #7966
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