-
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/keyring: fix offline keys migration #8639
Merged
Merged
Changes from 8 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
5610039
add fix for multisig keys
sahith-narahari f599220
update tests
sahith-narahari 48286a3
Merge branch 'master' into sahith/fix-key-multi
ca120e8
fix lint
sahith-narahari 266c5f5
Merge branch 'master' into sahith/fix-key-multi
03e84ec
Merge branch 'master' into sahith/fix-key-multi
jgimeno 88e1eed
rename function legacy
jgimeno 48068ae
Merge branch 'master' into sahith/fix-key-multi
sahith-narahari 3288631
fix linter
jgimeno da71b04
update keys
sahith-narahari 4b9f9d9
test offline
jgimeno 42682ce
temp commit
jgimeno 9208860
Merge branch 'sahith/fix-key-multi' of github.com:cosmos/cosmos-sdk i…
sahith-narahari 1afcbe3
update ledger keys
sahith-narahari 8944c17
Merge branch 'master' into sahith/fix-key-multi
jgimeno a34d140
Apply suggestions from code review
5a65cf6
Merge branch 'master' into sahith/fix-key-multi
a95da25
Fix `keys migrate` command (#8703)
amaury1093 ea0807a
Merge branch 'master' into sahith/fix-key-multi
f212a49
Merge branch 'master' into sahith/fix-key-multi
eb03b8f
Jonathan/remove unused import pub (#8704)
jgimeno 9e8e55d
update godoc
sahith-narahari 3ce470c
Merge branch 'master' into sahith/fix-key-multi
5168b53
revert api breaking changes
sahith-narahari 85700ae
Merge branch 'sahith/fix-key-multi' of github.com:cosmos/cosmos-sdk i…
sahith-narahari b53bc9e
update docs
sahith-narahari 5a048ab
add changelog
sahith-narahari 98416d1
Merge branch 'master' into sahith/fix-key-multi
sahith-narahari 4e328c3
fix end message
32aeb7b
Merge branch 'master' into sahith/fix-key-multi
17b606e
try display race detector while running
e10efd0
turn --old-home into a positional argument
28070f2
Update CHANGELOG.md
f7d907d
remove redundant comment
5478cb6
try fix test
cbee3fd
Merge branch 'master' into sahith/fix-key-multi
a7babac
fixing the test case
455ccce
new testdata
a49440e
Merge branch 'master' into sahith/fix-key-multi
d6fca2b
crypto/keyring: reinstate the InfoImporter interface
8b85b5c
Update error message
sahith-narahari 72229d2
Merge branch 'master' into sahith/fix-key-multi
sahith-narahari f5df8f1
Update client/keys/migrate.go
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MANIFEST-000005 | ||
MANIFEST-000062 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MANIFEST-000003 | ||
MANIFEST-000060 |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 we want this function. Could you explain why adding it?
My point is that we shouldn't create functions for specific types. It won't save amount of code:
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.
The brutal, untested removal of this function caused the mess explained in #8633. Yes, your solution could work indeed. And yet, I believe that there is value in placing and documenting all amino-related legacy code in the
codec/legacy
package. So that when the time comes for us to remove all legacy stuff, we'll find it more easily. Wdyt?