diff --git a/docs/int/quickstart/quickstart-exit.md b/docs/int/quickstart/quickstart-exit.md index 6d8c53f17f..dec4418afb 100644 --- a/docs/int/quickstart/quickstart-exit.md +++ b/docs/int/quickstart/quickstart-exit.md @@ -33,63 +33,67 @@ It needs to be the validator client that is connected to your charon client taki ::: - -
-      
-    {String.raw`docker exec -ti charon-distributed-validator-node-teku-1 /opt/teku/bin/teku voluntary-exit \
-    --beacon-node-api-endpoint="http://charon:3600/" \
-    --confirmation-enabled=false \
-    --validator-keys="/opt/charon/validator_keys:/opt/charon/validator_keys" \
-    --epoch=162304`}
-      
-    
-
- - The following executes an interactive command inside the Nimbus VC container. It copies all files and directories from the Keystore path /home/user/data/charon to the newly created /home/user/data/wd directory. -

- For each file in the /home/user/data/wd/secrets directory, it: -
  • Extracts the filename without the extension as the file name is the public key
  • -
  • Appends {String.raw`--validator=`} to the command variable.
  • -
  • Executes a program called nimbus_beacon_node with the following arguments:
  • - -
    -      
    -        {String.raw`docker exec -it charon-distributed-validator-node-nimbus-1 /bin/bash -c '\
    -    
    -        mkdir /home/user/data/wd
    -        cp -r /home/user/data/charon/ /home/user/data/wd
    -    
    -        command=""; \
    -        for file in /home/user/data/wd/secrets/*; do \
    -            filename=$(basename "$file" | cut -d. -f1); \
    -            command+=" --validator=$filename"; \
    -        done; \
    -    
    -/home/user/nimbus_beacon_node deposits exit $command --epoch=162304 --rest-url=http://charon:3600/ --data-dir=/home/user/data/wd/'`}
    -      
    -    
    -
    - - The following executes an interactive command inside the Loestar VC container to exit all validators. It executes - node /usr/app/packages/cli/bin/lodestar validator voluntary-exit with the arguments: - -
    -      
    -    {String.raw`docker exec -it charon-distributed-validator-node-lodestar-1 /bin/sh -c 'node /usr/app/packages/cli/bin/lodestar validator voluntary-exit --beaconNodes="http://charon:3600" --dataDir=/opt/data --exitEpoch=162304 --network=goerli --yes'`}
    -      
    -    
    + + + +
    +          
    +        {String.raw`docker exec -ti charon-distributed-validator-node-teku-1 /opt/teku/bin/teku voluntary-exit \
    +        --beacon-node-api-endpoint="http://charon:3600/" \
    +        --confirmation-enabled=false \
    +        --validator-keys="/opt/charon/validator_keys:/opt/charon/validator_keys" \
    +        --epoch=162304`}
    +          
    +        
    +
    + + The following executes an interactive command inside the Nimbus VC container. It copies all files and directories from the Keystore path /home/user/data/charon to the newly created /home/user/data/wd directory. +

    + For each file in the /home/user/data/wd/secrets directory, it: +
  • Extracts the filename without the extension as the file name is the public key
  • +
  • Appends {String.raw`--validator=`} to the command variable.
  • +
  • Executes a program called nimbus_beacon_node with the following arguments:
  • +
      +
    • deposits exit : Exits validators
    • +
    • $command : The generated command string from the loop.
    • +
    • --epoch=162304 : The epoch upon which to submit the voluntary exit.
    • +
    • --rest-url=http://charon:3600/ : Specifies the Charon host:port
    • +
    • --data-dir=/home/user/charon/ : Specifies the Keystore path which has all the validator keys. There will be a secrets and a validators folder inside it.
    • +
    +
    +          
    +            {String.raw`docker exec -it charon-distributed-validator-node-nimbus-1 /bin/bash -c '\
    +        
    +            mkdir /home/user/data/wd
    +            cp -r /home/user/data/charon/ /home/user/data/wd
    +        
    +            command=""; \
    +            for file in /home/user/data/wd/secrets/*; do \
    +                filename=$(basename "$file" | cut -d. -f1); \
    +                command+=" --validator=$filename"; \
    +            done; \
    +        
    +    /home/user/nimbus_beacon_node deposits exit $command --epoch=162304 --rest-url=http://charon:3600/ --data-dir=/home/user/data/wd/'`}
    +          
    +        
    +
    + + The following executes an interactive command inside the Loestar VC container to exit all validators. It executes + node /usr/app/packages/cli/bin/lodestar validator voluntary-exit with the arguments: +
      +
    • --beaconNodes="http://charon:3600" : Specifies the Charon host:port.
    • +
    • --data-dir=/opt/data : Specifies the folder where the key stores were imported.
    • +
    • --exitEpoch=162304 : The epoch upon which to submit the voluntary exit.
    • +
    • --network=goerli : Specifies the network.
    • +
    • --yes : Skips confirmation prompt.
    • +
    +
    +          
    +        {String.raw`docker exec -it charon-distributed-validator-node-lodestar-1 /bin/sh -c 'node /usr/app/packages/cli/bin/lodestar validator voluntary-exit --beaconNodes="http://charon:3600" --dataDir=/opt/data --exitEpoch=162304 --network=goerli --yes'`}
    +          
    +        
    +
    +
    @@ -125,4 +129,4 @@ At this point, the threshold of 3 has been reached and the validator exit proces :::tip Once a validator has broadcasted an exit message, it must continue to validate for at least 27 hours or longer. Do not shut off your distributed validator nodes until your validator is fully exited. -::: \ No newline at end of file +:::