-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
gaiacli: Make recovery allow new keys #1477
Conversation
I think we want to use cc @liamsi |
Would you prefer reverting CreateFundraiserKey, and making seperate methods "Create Key" and "Create FreshKey"? |
Codecov Report
@@ Coverage Diff @@
## develop #1477 +/- ##
========================================
Coverage 63.09% 63.09%
========================================
Files 118 118
Lines 6563 6563
========================================
Hits 4141 4141
Misses 2151 2151
Partials 271 271 |
Ah, sorry, I mean that we want to use |
Create Mnemonic wouldn't work here, that derives the mnemonic. We need to go from mnemonic to privkey. I don't understand the rationale behind having a seperate CreateFundraiserKey method as opposed to a generalized CreateKey method, since the functionality is exactly the same, and any downstream application can just run CreateKey. (i.e. LCD endpoints could just call CreateKey with the exact same input) |
Exactly; I don't think we need to expose two separate methods for creating a mnemonic and then deriving a key from the mnemonic, ref #1442. For deriving keys from previously created mnemonics, we can use the |
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.
Tested ACK, thanks!
* gaiacli: Make recovery allow new keys * Move create key to a temporary method, restore create fundraiser key
Closes #1474
Updated all relevant documentation in docsUpdated all code comments where relevantWrote testsUpdated CHANGELOG.md- n/a, bug fix that was introduced in this PRUpdated Gaia/Examples