Skip to content

Commit 58d8587

Browse files
committed
Tidy-ups.
1 parent b89154a commit 58d8587

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

cmd/chainstatus.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ In quiet mode this will return 0 if the chain status can be obtained, otherwise
9797
res.WriteString(fmt.Sprintf("%d", headSlot))
9898
if headSlot != slot {
9999
if slot-headSlot == 1 {
100-
res.WriteString("(1 slot behind)")
100+
res.WriteString(" (1 slot behind)")
101101
} else {
102102
res.WriteString(" (")
103103
res.WriteString(fmt.Sprintf("%d", slot-headSlot))

cmd/validatorcredentialsset.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,16 @@ var validatorCredentialsSetCmd = &cobra.Command{
2828
2929
ethdo validator credentials set --validator=primary/validator --withdrawal-address=0x00...13 --private-key=0x00...1f
3030
31+
Note that to change credentials the private key to the existing BLS withdrawal credentials must be available, either directly as an account or private key, or via the mnemonic that was used when generating the initial deposits.
32+
3133
The validator account can be specified in one of a number of ways:
3234
3335
- mnemonic using --mnemonic; this will scan the mnemonic and generate all applicable operations
3436
- mnemonic and path to the validator key using --mnemonic and --path; this will generate a single operation
3537
- mnemonic and validator index or public key --mnemonic and --validator; this will generate a single operation
36-
- mnemonic and withdrawal private key using --mnemonic and --private-key; this will generate all applicable operations
37-
- validator and withdrawal private key using --validator and --private-key; this will generate a single operation
38-
- account and withdrawal account using --account and --withdrawal-account; this will generate a single operation
38+
- mnemonic and existing BLS withdrawal private key using --mnemonic and --private-key; this will generate all applicable operations
39+
- validator and existing BLS withdrawal private key using --validator and --private-key; this will generate a single operation
40+
- account and existing BLS withdrawal account using --account and --withdrawal-account; this will generate a single operation
3941
4042
In quiet mode this will return 0 if the credentials operation has been generated (and successfully broadcast if online), otherwise 1.`,
4143
RunE: func(cmd *cobra.Command, _ []string) error {

0 commit comments

Comments
 (0)