-
Notifications
You must be signed in to change notification settings - Fork 423
docs: app v4 #2021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
docs: app v4 #2021
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -320,13 +320,13 @@ The [Node snapshots guide](/how-to-guides/snapshots.md) provides everything you | |
|
|
||
| ## Start the consensus node | ||
|
|
||
| If you are running celestia-app v1.x.x: | ||
| If you are running celestia-app >= v4.0.0, the `rpc.grpc_laddr` config option is required. This option can be set via the CLI flag `--rpc.grpc_laddr tcp://0.0.0.0:9098` or in the `config.toml`. | ||
|
||
|
|
||
| ```sh | ||
| celestia-appd start | ||
| celestia-appd start --rpc.grpc_laddr tcp://0.0.0.0:9098 | ||
| ``` | ||
|
|
||
| If you are running celestia-app >= v2.0.0: then you'll want to start the node with a `--v2-upgrade-height` that is dependent on the network. The `--v2-upgrade-height` flag is only needed during the v2 upgrade height so after your node has executed the upgrade (e.g. you see the log `upgraded from app version 1 to 2`), you don't need to provide this flag for future `celestia-appd start` invocations. | ||
| If you are running celestia-app v2.x.x then you'll want to start the node with a `--v2-upgrade-height` that is dependent on the network. The `--v2-upgrade-height` flag is only needed during the v2 upgrade height so after your node has executed the upgrade (e.g. you see the log `upgraded from app version 1 to 2`), you don't need to provide this flag for future `celestia-appd start` invocations. | ||
|
|
||
| ::: code-group | ||
|
|
||
|
|
@@ -361,6 +361,7 @@ celestia-appd tendermint reset-state | |
| ``` | ||
|
|
||
| This preserves your configuration, validator state (`priv_validator_state.json`), and peer connections (`addrbook.json`), but removes: | ||
|
|
||
| - blockstore.db | ||
| - state.db | ||
| - evidence.db | ||
|
|
@@ -376,6 +377,7 @@ celestia-appd tendermint unsafe-reset-all --home $HOME/.celestia-app | |
| ``` | ||
|
|
||
| This command: | ||
|
|
||
| - Resets blockchain data | ||
| - Resets validator state (`priv_validator_state.json`) but NOT private keys (which are in `priv_validator_key.json`) | ||
| - Clears address book (`addrbook.json`) | ||
|
|
@@ -410,6 +412,7 @@ echo "{}" > ~/.celestia-app/data/priv_validator_state.json | |
| ``` | ||
|
|
||
| This approach: | ||
|
|
||
| - Completely removes all blockchain data (blocks, state, evidence, etc.) | ||
| - Removes the keyring-test directory containing transaction signing keys (but not validator consensus keys) | ||
| - Creates a new, empty data directory structure | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.