Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions how-to-guides/celestia-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ This tutorial will guide you through installing celestia-app, both
[from source](#building-binary-from-source) and with
[a pre-built binary](#installing-a-pre-built-binary)

Celestia-app is the software that allows you to run
consensus nodes including validators and provide RPC endpoints.
Celestia-app is the software that enables you to run
consensus nodes (including validators) and provide RPC endpoints.

## Building binary from source

This section of the tutorial presumes you completed the steps in
This section of the tutorial assumes you completed the steps in
[setting up your own environment](/how-to-guides/environment.md).

The steps below will create a binary file named `celestia-appd`
Expand Down Expand Up @@ -57,7 +57,7 @@ Be sure to select the correct network to install the binary for.

:::

3. Build and install the `celestia-appd` binary:
3. Build and install the `celestia-appd` binary with multiplexer support:
Copy link
Preview

Copilot AI Apr 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider providing a short explanation or a link to additional documentation on what 'multiplexer support' entails, so users know if they require any further configuration.

Suggested change
3. Build and install the `celestia-appd` binary with multiplexer support:
3. Build and install the `celestia-appd` binary with multiplexer support:
Multiplexer support allows the `celestia-appd` binary to handle multiple streams of data efficiently.
For more details, refer to the [multiplexer support documentation](https://docs.celestia.org/multiplexer-support).

Copilot uses AI. Check for mistakes.


```bash
make install
Expand Down
9 changes: 6 additions & 3 deletions how-to-guides/consensus-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Copy link
Preview

Copilot AI Apr 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a brief note or table summarizing the version-specific instructions to clearly delineate between v1.x.x, v2.x.x, and v4.0.0 requirements. This will help users quickly identify the correct steps based on their app version.

Copilot uses AI. Check for mistakes.


```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

Expand Down Expand Up @@ -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
Expand All @@ -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`)
Expand Down Expand Up @@ -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
Expand Down
Loading