-
-
Notifications
You must be signed in to change notification settings - Fork 291
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
Deprecate accounts CLI #4104
Merged
Merged
Deprecate accounts CLI #4104
Conversation
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
4 tasks
Performance Report✔️ no performance regression detected Full benchmark results
|
dapplion
added
the
meta-breaking-change
Introduces breaking changes to DB, Validator, Beacon Node, or CLI interfaces. Handle with care!
label
Jun 3, 2022
tests failing but lgtm |
Is it possible to not deprecate |
Re-added the list command with e2e test for import + list flow |
wemeetagain
approved these changes
Jun 7, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
meta-breaking-change
Introduces breaking changes to DB, Validator, Beacon Node, or CLI interfaces. Handle with care!
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.
Motivation
Reviewing our keymanager server + remote keys API i found issues reconciling how keys are handled across the account CLI + automatic validator cmd key loading and the keymanager server.
Having the account CLI is not necessary anymore and add maintenance burden that now it's causing issues.
Description
From existing commands:
lodestar account
:validator
:create
: DEPRECATEDdeposit
: DEPRECATEDimport
: moved tovalidator import
list
: DEPRECATEDrecover
: DEPRECATEDslashing-protection
: moved tovalidator slashing-protection
voluntary-exit
: moved tovalidator voluntary-exit
wallet
:create
: DEPRECATEDlist
: DEPRECATEDrecover
: DEPRECATEDThen the logic to load keys can be merged into the validator sub-command. This PR only deprecates and move commands. In future PRs I'll reduce the complexity of dealing with validator dirs.
With this PR, running any
account [$0..]
command triggers a deprecation noticeCloses #3300