mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 20:37:17 +00:00
add feature config support (#6904)
This commit is contained in:
parent
40b68da486
commit
5b75f4e6be
@ -28,6 +28,7 @@ this command outputs a deposit data string which is required to become a validat
|
|||||||
featureconfig.OnyxTestnet,
|
featureconfig.OnyxTestnet,
|
||||||
},
|
},
|
||||||
Action: func(cliCtx *cli.Context) error {
|
Action: func(cliCtx *cli.Context) error {
|
||||||
|
featureconfig.ConfigureValidator(cliCtx)
|
||||||
if err := CreateAccount(cliCtx); err != nil {
|
if err := CreateAccount(cliCtx); err != nil {
|
||||||
log.Fatalf("Could not create new account: %v", err)
|
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,
|
featureconfig.OnyxTestnet,
|
||||||
},
|
},
|
||||||
Action: func(cliCtx *cli.Context) error {
|
Action: func(cliCtx *cli.Context) error {
|
||||||
|
featureconfig.ConfigureValidator(cliCtx)
|
||||||
if err := ListAccounts(cliCtx); err != nil {
|
if err := ListAccounts(cliCtx); err != nil {
|
||||||
log.Fatalf("Could not list accounts: %v", err)
|
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,
|
featureconfig.OnyxTestnet,
|
||||||
},
|
},
|
||||||
Action: func(cliCtx *cli.Context) error {
|
Action: func(cliCtx *cli.Context) error {
|
||||||
|
featureconfig.ConfigureValidator(cliCtx)
|
||||||
if err := ExportAccount(cliCtx); err != nil {
|
if err := ExportAccount(cliCtx); err != nil {
|
||||||
log.Fatalf("Could not export accounts: %v", err)
|
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,
|
featureconfig.OnyxTestnet,
|
||||||
},
|
},
|
||||||
Action: func(cliCtx *cli.Context) error {
|
Action: func(cliCtx *cli.Context) error {
|
||||||
|
featureconfig.ConfigureValidator(cliCtx)
|
||||||
if err := ImportAccount(cliCtx); err != nil {
|
if err := ImportAccount(cliCtx); err != nil {
|
||||||
log.Fatalf("Could not import accounts: %v", err)
|
log.Fatalf("Could not import accounts: %v", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user