Skip to content

Commit daa9bce

Browse files
committed
docs: add comments and docs for why nimbus use consensus client on importKeys
1 parent 474226e commit daa9bce

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

cli/slashingImport.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ sedge slashing-import --from slashing-data.json --start-validator lighthouse`,
9393
},
9494
RunE: func(cmd *cobra.Command, args []string) error {
9595
services := []string{validator}
96+
// If the validator client is nimbus, we need to import the consensus service as well
97+
// The consensus service is not imported by default because it's not necessary for the other clients
98+
// On Nimbus, the consensus service is necessary to import the slashing protection data
9699
if validatorClient == "nimbus" {
97100
services = append(services, consensus)
98101
}

docs/docs/commands/importKey.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ The resulted folder structure is:
118118

119119
If you have to import your keys to nimbus, you will need to manually type the password when loading the keys, since the nimbus client does not support non interactive password loading.
120120

121+
Importing keys on Nimbus is done using the consensus client container instead of the validator client container.
122+
121123
:::
122124

123125
Notice the new folder `keystore` inside the `sedge-data` folder, this is where

0 commit comments

Comments
 (0)