mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
add feature config support (#6904)
This commit is contained in:
@@ -28,6 +28,7 @@ this command outputs a deposit data string which is required to become a validat
|
||||
featureconfig.OnyxTestnet,
|
||||
},
|
||||
Action: func(cliCtx *cli.Context) error {
|
||||
featureconfig.ConfigureValidator(cliCtx)
|
||||
if err := CreateAccount(cliCtx); err != nil {
|
||||
log.Fatalf("Could not create new account: %v", err)
|
||||
}
|
||||
@@ -46,6 +47,7 @@ this command outputs a deposit data string which is required to become a validat
|
||||
featureconfig.OnyxTestnet,
|
||||
},
|
||||
Action: func(cliCtx *cli.Context) error {
|
||||
featureconfig.ConfigureValidator(cliCtx)
|
||||
if err := ListAccounts(cliCtx); err != nil {
|
||||
log.Fatalf("Could not list accounts: %v", err)
|
||||
}
|
||||
@@ -63,6 +65,7 @@ this command outputs a deposit data string which is required to become a validat
|
||||
featureconfig.OnyxTestnet,
|
||||
},
|
||||
Action: func(cliCtx *cli.Context) error {
|
||||
featureconfig.ConfigureValidator(cliCtx)
|
||||
if err := ExportAccount(cliCtx); err != nil {
|
||||
log.Fatalf("Could not export accounts: %v", err)
|
||||
}
|
||||
@@ -82,6 +85,7 @@ this command outputs a deposit data string which is required to become a validat
|
||||
featureconfig.OnyxTestnet,
|
||||
},
|
||||
Action: func(cliCtx *cli.Context) error {
|
||||
featureconfig.ConfigureValidator(cliCtx)
|
||||
if err := ImportAccount(cliCtx); err != nil {
|
||||
log.Fatalf("Could not import accounts: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user