mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
Add Accept Terms of Use Flags to Accounts Commands (#7584)
This commit is contained in:
parent
a5ce6db38e
commit
78ca8c9265
@ -31,6 +31,7 @@ this command outputs a deposit data string which is required to become a validat
|
||||
featureconfig.MedallaTestnet,
|
||||
featureconfig.SpadinaTestnet,
|
||||
featureconfig.ZinkenTestnet,
|
||||
cmd.AcceptTosFlag,
|
||||
}),
|
||||
Before: func(cliCtx *cli.Context) error {
|
||||
return cmd.LoadFlagsFromConfig(cliCtx, cliCtx.Command.Flags)
|
||||
@ -55,6 +56,7 @@ this command outputs a deposit data string which is required to become a validat
|
||||
featureconfig.MedallaTestnet,
|
||||
featureconfig.SpadinaTestnet,
|
||||
featureconfig.ZinkenTestnet,
|
||||
cmd.AcceptTosFlag,
|
||||
}),
|
||||
Before: func(cliCtx *cli.Context) error {
|
||||
return cmd.LoadFlagsFromConfig(cliCtx, cliCtx.Command.Flags)
|
||||
@ -80,6 +82,7 @@ this command outputs a deposit data string which is required to become a validat
|
||||
featureconfig.MedallaTestnet,
|
||||
featureconfig.SpadinaTestnet,
|
||||
featureconfig.ZinkenTestnet,
|
||||
cmd.AcceptTosFlag,
|
||||
}),
|
||||
Before: func(cliCtx *cli.Context) error {
|
||||
return cmd.LoadFlagsFromConfig(cliCtx, cliCtx.Command.Flags)
|
||||
@ -109,6 +112,7 @@ this command outputs a deposit data string which is required to become a validat
|
||||
featureconfig.MedallaTestnet,
|
||||
featureconfig.SpadinaTestnet,
|
||||
featureconfig.ZinkenTestnet,
|
||||
cmd.AcceptTosFlag,
|
||||
}),
|
||||
Before: func(cliCtx *cli.Context) error {
|
||||
return cmd.LoadFlagsFromConfig(cliCtx, cliCtx.Command.Flags)
|
||||
@ -135,6 +139,7 @@ this command outputs a deposit data string which is required to become a validat
|
||||
featureconfig.MedallaTestnet,
|
||||
featureconfig.SpadinaTestnet,
|
||||
featureconfig.ZinkenTestnet,
|
||||
cmd.AcceptTosFlag,
|
||||
}),
|
||||
Before: func(cliCtx *cli.Context) error {
|
||||
return cmd.LoadFlagsFromConfig(cliCtx, cliCtx.Command.Flags)
|
||||
@ -166,6 +171,7 @@ this command outputs a deposit data string which is required to become a validat
|
||||
featureconfig.MedallaTestnet,
|
||||
featureconfig.SpadinaTestnet,
|
||||
featureconfig.ZinkenTestnet,
|
||||
cmd.AcceptTosFlag,
|
||||
}),
|
||||
Before: func(cliCtx *cli.Context) error {
|
||||
return cmd.LoadFlagsFromConfig(cliCtx, cliCtx.Command.Flags)
|
||||
|
@ -1,6 +1,7 @@
|
||||
package accounts
|
||||
|
||||
import (
|
||||
"github.com/prysmaticlabs/prysm/shared/cmd"
|
||||
"github.com/prysmaticlabs/prysm/shared/featureconfig"
|
||||
"github.com/prysmaticlabs/prysm/validator/flags"
|
||||
"github.com/urfave/cli/v2"
|
||||
@ -29,6 +30,7 @@ var WalletCommands = &cli.Command{
|
||||
featureconfig.MedallaTestnet,
|
||||
featureconfig.SpadinaTestnet,
|
||||
featureconfig.ZinkenTestnet,
|
||||
cmd.AcceptTosFlag,
|
||||
},
|
||||
Action: func(cliCtx *cli.Context) error {
|
||||
featureconfig.ConfigureValidator(cliCtx)
|
||||
@ -52,6 +54,7 @@ var WalletCommands = &cli.Command{
|
||||
featureconfig.MedallaTestnet,
|
||||
featureconfig.SpadinaTestnet,
|
||||
featureconfig.ZinkenTestnet,
|
||||
cmd.AcceptTosFlag,
|
||||
},
|
||||
Action: func(cliCtx *cli.Context) error {
|
||||
featureconfig.ConfigureValidator(cliCtx)
|
||||
@ -74,6 +77,7 @@ var WalletCommands = &cli.Command{
|
||||
featureconfig.MedallaTestnet,
|
||||
featureconfig.SpadinaTestnet,
|
||||
featureconfig.ZinkenTestnet,
|
||||
cmd.AcceptTosFlag,
|
||||
},
|
||||
Action: func(cliCtx *cli.Context) error {
|
||||
featureconfig.ConfigureValidator(cliCtx)
|
||||
|
Loading…
Reference in New Issue
Block a user