prysm-pulse/validator/accounts
Fabrice Cheng 16bccf05cf
[Feature] enable/disable validator accounts (#7746)
* add --enable --disable flags for validator accounts

* refactor DeleteAccountConfig into AccountConfig to be used for enable and disable feature

* add `disable` flag for validator accounts

* [wip] add method to disable account

* refactor account delete

* add disable & enable with proper filters

* fix keymanager unit tests

* update DisabledPublicKeys to be a string instead of [][]byte

* fix FetchValidatingPrivateKeys to only fetch active keys with new string format

* fix FetchValidationPrivateKeys with new DisabledPublicKeys format (as a string)

* rename file + update AccountsConfig to include Disable, Enable and Delete distinct attributes

* rename accounts_activation -> accounts_enable_disable

* revert changes from using string to [][]byte for DisabledPublicKeys

* add FetchAllValidatingPublicKeys to preserve the functionality for accounts list, backup and delete

* fix unit tests

* convert publickeys from [][]byte to str before passing it to pb message

* add unit tests for disable keys

* add unit tests for EnableAccounts

* revert WORKSPACE LLM for now

* ran gazelle

* move function to convert KeymanagerOpts to Config inside rpc and run gazelle

* add unit tests for FetchAllValidatingPublicKeys

* fix keymanageropts for InteropKey

* Fix mistake for enable accounts

* add docstring to DisableAccountsCli and EnableAccountsCli

* remove previous testnet and add toledo & pyrmont
2020-11-13 10:06:24 -06:00
..
iface Allow for 25th Word Passphrases in Mnemonics (#7645) 2020-10-27 20:51:29 +00:00
prompt [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
testing Allow for 25th Word Passphrases in Mnemonics (#7645) 2020-10-27 20:51:29 +00:00
wallet Use t.TempDir() in tests (#7769) 2020-11-10 22:45:17 +00:00
accounts_backup_test.go Use t.TempDir() in tests (#7769) 2020-11-10 22:45:17 +00:00
accounts_backup.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
accounts_create_test.go Allow for 25th Word Passphrases in Mnemonics (#7645) 2020-10-27 20:51:29 +00:00
accounts_create.go Allow for 25th Word Passphrases in Mnemonics (#7645) 2020-10-27 20:51:29 +00:00
accounts_delete_test.go Use t.TempDir() in tests (#7769) 2020-11-10 22:45:17 +00:00
accounts_delete.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
accounts_enable_disable_test.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
accounts_enable_disable.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
accounts_exit_test.go Use t.TempDir() in tests (#7769) 2020-11-10 22:45:17 +00:00
accounts_exit.go Allow for 25th Word Passphrases in Mnemonics (#7645) 2020-10-27 20:51:29 +00:00
accounts_helper.go Rename Accounts-V2 to Accounts (#7545) 2020-10-15 22:31:52 +00:00
accounts_import_test.go Use t.TempDir() in tests (#7769) 2020-11-10 22:45:17 +00:00
accounts_import.go Allow for 25th Word Passphrases in Mnemonics (#7645) 2020-10-27 20:51:29 +00:00
accounts_list_test.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
accounts_list.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
accounts.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
BUILD.bazel [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
cmd_accounts.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
cmd_wallet.go Remove testnets prior to spec v1.0.0 (#7802) 2020-11-13 06:42:33 +00:00
doc.go Rename Direct Keymanager to Imported (#7549) 2020-10-16 13:45:14 -05:00
wallet_create_test.go [Feature] enable/disable validator accounts (#7746) 2020-11-13 10:06:24 -06:00
wallet_create.go Allow for 25th Word Passphrases in Mnemonics (#7645) 2020-10-27 20:51:29 +00:00
wallet_edit_test.go Remove Account Creation Privilege For Imported Keymanager (#7555) 2020-10-20 01:22:36 +00:00
wallet_edit.go Clarify No Wallet Found Error Messages (#7609) 2020-10-22 17:31:03 +00:00
wallet_recover_test.go Use t.TempDir() in tests (#7769) 2020-11-10 22:45:17 +00:00
wallet_recover.go Allow for 25th Word Passphrases in Mnemonics (#7645) 2020-10-27 20:51:29 +00:00