Skip to content

Commit

Permalink
docs: add info block for overwriting secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed Jun 25, 2024
1 parent 060b4ab commit 8c58a0b
Showing 1 changed file with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ The key file path is relative by default.
gnoland config set priv_validator_key_file secrets/priv_validator_key.json -config-path gnoland-data/config/config.toml
```

:::

info validator private key is one of secrets that centeralized within `<data-dir>/secrets`, it can be replaced or regenerated with `gnoland secrets init ValidatorPrivateKey --force`

This comment has been minimized.

Copy link
@zivkovicmilos

zivkovicmilos Jun 25, 2024

Member

This info block formatting is not right, it should be :::info

This comment has been minimized.

Copy link
@zivkovicmilos

zivkovicmilos Jun 25, 2024

Member

Typo here, should be is centralized

This comment has been minimized.

Copy link
@zivkovicmilos

zivkovicmilos Jun 25, 2024

Member

The key name here is not valid anymore, after #2393


:::

## 5. Set the validator state (optional)

- Set path of the validator state. A default value exists. When using a separate secrets folder, you must set the path to the respective location.
Expand All @@ -71,9 +77,15 @@ The key file path is relative by default.
gnoland config set priv_validator_state_file secrets/priv_validator_state.json -config-path gnoland-data/config/config.toml
```

## 6. Set the node key (optional)
:::

info validator state is one of secrets that centeralized within `<data-dir>/secrets`, it can be replaced or regenerated with `gnoland secrets init ValidatorState --force`

This comment has been minimized.

Copy link
@zivkovicmilos

zivkovicmilos Jun 25, 2024

Member

This info block formatting is not right, it should be :::info

This comment has been minimized.

Copy link
@zivkovicmilos

zivkovicmilos Jun 25, 2024

Member

Typo here, should be is centralized

This comment has been minimized.

Copy link
@zivkovicmilos

zivkovicmilos Jun 25, 2024

Member

The key name here is not valid anymore, after #2393


- Set path of the node key. A default path exists. When using a separate secrets folder, you must set the path to the respective location.
:::

## 6. Set the node id (optional)

- Set path of the node id. A default path exists. When using a separate secrets folder, you must set the path to the respective location.

:::tip

Expand All @@ -85,6 +97,12 @@ The key file path is relative by default.
gnoland config set node_key_file secrets/node_key.json -config-path gnoland-data/config/config.toml
```

:::info

node is is one of secrets that centeralized within `<data-dir>/secrets`, it can be replaced or regenerated with `gnoland secrets init NodeID --force`

This comment has been minimized.

Copy link
@zivkovicmilos

zivkovicmilos Jun 25, 2024

Member

The key name here is not valid anymore, after #2393

This comment has been minimized.

Copy link
@zivkovicmilos

zivkovicmilos Jun 25, 2024

Member

Same comments as with the previous 2


:::

## 7. Generate the genesis file (required)

- When the chain starts, the first block will be produced after all of the content inside the genesis file is executed.
Expand Down Expand Up @@ -117,7 +135,7 @@ $ gnoland genesis validator add \
-address g1lnha5yem9dmj0yfzysfqsnvrm6j2ywshq83qdf \ # address of validator
-name node01 \ # name of validator
-power 10 \ # voting power of validator
-pub-key pub1pggj7ard9eg82cjtv4u52epjx56nzwgjyg9zpleysamt23ar025757uepld60xztnw7ujc3gwtjuy4pwv6z9sh4g284h3q # public key of validator
-pub-key gpub1pggj7ard9eg82cjtv4u52epjx56nzwgjyg9zpleysamt23ar025757uepld60xztnw7ujc3gwtjuy4pwv6z9sh4g284h3q # public key of validator
```

## 9. Start the chain
Expand Down

0 comments on commit 8c58a0b

Please sign in to comment.