Skip to content
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

deps: add gateway deprecated flag #851

Merged
merged 1 commit into from
Jun 30, 2023
Merged
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
3 changes: 2 additions & 1 deletion docs/developers/celestia-node-key.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ Run the Docker image (in this example, we are using a Light Node):
docker run --name celestia-node -e NODE_TYPE=light -e P2P_NETWORK=mocha -p 26659:26659 \
ghcr.io/celestiaorg/celestia-node:sha-747c9e5 celestia light start \
--core.ip rpc-mocha.pops.one \
--gateway.deprecated-endpoints \
--gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
```

Expand Down Expand Up @@ -274,7 +275,7 @@ services:
image: celestia-node
environment:
- NODE_TYPE=light
command: celestia light start --core.ip rpc-mocha.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha --keyring.accname my_celes_key
command: celestia light start --core.ip rpc-mocha.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha --keyring.accname my_celes_key
volumes:
- ${PWD}/keys:/root/.celestia-light-mocha/keys
ports:
Expand Down
18 changes: 9 additions & 9 deletions docs/developers/node-tutorial.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ an example public core endpoint.
purposes. You can find a list of RPC endpoints [here](../../nodes/blockspace-race).

```sh
celestia light start --core.ip <ip-address> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network blockspacerace
celestia light start --core.ip <ip-address> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network blockspacerace
```

:::tip
Expand All @@ -1000,7 +1000,7 @@ an example public core endpoint.
purposes. You can find a list of RPC endpoints [here](../../nodes/mocha-testnet#rpc-endpoints).

```sh
celestia light start --core.ip <ip-address> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network mocha
celestia light start --core.ip <ip-address> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network mocha
```

:::tip
Expand All @@ -1026,7 +1026,7 @@ an example public core endpoint.
purposes. You can find a list of RPC endpoints [here](../../nodes/arabica-devnet#rpc-endpoints).

```sh
celestia light start --core.ip <ip-address> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network arabica
celestia light start --core.ip <ip-address> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network arabica
```

:::tip
Expand All @@ -1050,7 +1050,7 @@ For example, your command along with an RPC endpoint might look like this:
<TabItem value="blockspacerace" label="Blockspace Race">

```sh
celestia light start --core.ip <ip-address> --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
celestia light start --core.ip <ip-address> --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
```

:::tip
Expand All @@ -1062,7 +1062,7 @@ which ports are required to be open on your machine.
<TabItem value="mocha" label="Mocha">

```sh
celestia light start --core.ip rpc-mocha.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
celestia light start --core.ip rpc-mocha.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
```

:::tip
Expand All @@ -1074,7 +1074,7 @@ which ports are required to be open on your machine.
<TabItem value="arabica" label="Arabica 🏗️">

```sh
celestia light start --core.ip consensus-full-arabica-8.celestia-arabica.com --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
celestia light start --core.ip consensus-full-arabica-8.celestia-arabica.com --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
```

:::tip
Expand All @@ -1100,7 +1100,7 @@ following command:
<TabItem value="blockspacerace" label="Blockspace Race">

```sh
celestia light start --core.ip <ip-address> --keyring.accname <key_name> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network blockspacerace
celestia light start --core.ip <ip-address> --keyring.accname <key_name> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network blockspacerace
```

:::tip
Expand All @@ -1112,7 +1112,7 @@ which ports are required to be open on your machine.
<TabItem value="mocha" label="Mocha">

```sh
celestia light start --core.ip <ip-address> --keyring.accname <key_name> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network mocha
celestia light start --core.ip <ip-address> --keyring.accname <key_name> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network mocha
```

:::tip
Expand All @@ -1124,7 +1124,7 @@ which ports are required to be open on your machine.
<TabItem value="arabica" label="Arabica 🏗️">

```sh
celestia light start --core.ip <ip-address> --keyring.accname <key_name> --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
celestia light start --core.ip <ip-address> --keyring.accname <key_name> --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
```

:::tip
Expand Down
2 changes: 1 addition & 1 deletion docs/developers/prompt-scavenger.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ celestia light init --p2p.network blockspacerace
Next, we will start our node:

```sh
celestia light start --core.ip $CORE_IP --p2p.network $NETWORK --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --keyring.accname $KEYNAME
celestia light start --core.ip $CORE_IP --p2p.network $NETWORK --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --keyring.accname $KEYNAME
```

:::tip
Expand Down
2 changes: 1 addition & 1 deletion docs/nodes/celestia-node-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ command:

<!-- markdownlint-disable MD013 -->
```sh
celestia light start --core.ip <ip-address> --metrics --metrics.endpoint <ip-address:port> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network <network>
celestia light start --core.ip <ip-address> --metrics --metrics.endpoint <ip-address:port> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network <network>
```

:::tip
Expand Down
4 changes: 2 additions & 2 deletions docs/nodes/celestia-node-troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Note: If you do not select a network, the default network will be 'Mocha'.

```sh
celestia <node-type> init --p2p.network <network>
celestia <node-type> start --p2p.network <network> --core.ip <address> --gateway --gateway.addr <ip-address> --gateway.port <port>
celestia <node-type> start --p2p.network <network> --core.ip <address> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port>
```

:::tip
Expand Down Expand Up @@ -276,7 +276,7 @@ Your output will look similar to below:
Then start your node:

```sh
celestia light start --p2p.network blockspacerace --core.ip <address> --gateway --gateway.addr <ip-address> --gateway.port <port>
celestia light start --p2p.network blockspacerace --core.ip <address> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port>
```

</TabItem>
Expand Down
20 changes: 10 additions & 10 deletions docs/nodes/docker-images.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import TabItem from '@theme/TabItem';
Run the image from the command line:

<pre><code>
docker run -e NODE_TYPE=light -e P2P_NETWORK=blockspacerace ghcr.io/celestiaorg/celestia-node:{blockspaceraceVersions['node-latest-tag']} celestia light start --core.ip rpc-blockspacerace.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
docker run -e NODE_TYPE=light -e P2P_NETWORK=blockspacerace ghcr.io/celestiaorg/celestia-node:{blockspaceraceVersions['node-latest-tag']} celestia light start --core.ip rpc-blockspacerace.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
</code></pre>

:::tip
Expand All @@ -72,7 +72,7 @@ you can refer to the
Run the image from the command line:

<pre><code>
docker run -e NODE_TYPE=light -e P2P_NETWORK=mocha ghcr.io/celestiaorg/celestia-node:sha-{mochaVersions['node-latest-sha'].slice(0, 7)} celestia light start --core.ip rpc-mocha.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
docker run -e NODE_TYPE=light -e P2P_NETWORK=mocha ghcr.io/celestiaorg/celestia-node:sha-{mochaVersions['node-latest-sha'].slice(0, 7)} celestia light start --core.ip rpc-mocha.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
</code></pre>

:::tip
Expand All @@ -96,7 +96,7 @@ you can refer to the
Run the image from the command line:

<pre><code>
docker run -e NODE_TYPE=light -e P2P_NETWORK=arabica ghcr.io/celestiaorg/celestia-node:{arabicaVersions['node-latest-tag']} celestia light start --core.ip consensus-full-arabica-8.celestia-arabica.com --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
docker run -e NODE_TYPE=light -e P2P_NETWORK=arabica ghcr.io/celestiaorg/celestia-node:{arabicaVersions['node-latest-tag']} celestia light start --core.ip consensus-full-arabica-8.celestia-arabica.com --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
</code></pre>

:::tip
Expand Down Expand Up @@ -125,7 +125,7 @@ you can refer to the
Run the image from the command line:

<pre><code>
docker run -e NODE_TYPE=bridge -e P2P_NETWORK=blockspacerace ghcr.io/celestiaorg/celestia-node:{blockspaceraceVersions['node-latest-tag']} celestia bridge start --core.ip rpc-blockspacerace.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
docker run -e NODE_TYPE=bridge -e P2P_NETWORK=blockspacerace ghcr.io/celestiaorg/celestia-node:{blockspaceraceVersions['node-latest-tag']} celestia bridge start --core.ip rpc-blockspacerace.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
</code></pre>

:::tip
Expand All @@ -147,7 +147,7 @@ you can refer to the
Run the image from the command line:

<pre><code>
docker run -e NODE_TYPE=bridge -e P2P_NETWORK=mocha ghcr.io/celestiaorg/celestia-node:sha-{mochaVersions['node-latest-sha'].slice(0, 7)} celestia bridge start --core.ip rpc-mocha.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
docker run -e NODE_TYPE=bridge -e P2P_NETWORK=mocha ghcr.io/celestiaorg/celestia-node:sha-{mochaVersions['node-latest-sha'].slice(0, 7)} celestia bridge start --core.ip rpc-mocha.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
</code></pre>

:::tip
Expand All @@ -171,7 +171,7 @@ you can refer to the
Run the image from the command line:

<pre><code>
docker run -e NODE_TYPE=bridge -e P2P_NETWORK=arabica ghcr.io/celestiaorg/celestia-node:{arabicaVersions['node-latest-tag']} celestia bridge start --core.ip consensus-full-arabica-8.celestia-arabica.com --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
docker run -e NODE_TYPE=bridge -e P2P_NETWORK=arabica ghcr.io/celestiaorg/celestia-node:{arabicaVersions['node-latest-tag']} celestia bridge start --core.ip consensus-full-arabica-8.celestia-arabica.com --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
</code></pre>

:::tip
Expand Down Expand Up @@ -200,7 +200,7 @@ you can refer to the
Run the image from the command line:

<pre><code>
docker run -e NODE_TYPE=full -e P2P_NETWORK=blockspacerace ghcr.io/celestiaorg/celestia-node:{blockspaceraceVersions['node-latest-tag']} celestia full start --core.ip rpc-blockspacerace.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
docker run -e NODE_TYPE=full -e P2P_NETWORK=blockspacerace ghcr.io/celestiaorg/celestia-node:{blockspaceraceVersions['node-latest-tag']} celestia full start --core.ip rpc-blockspacerace.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
</code></pre>

:::tip
Expand All @@ -222,7 +222,7 @@ you can refer to the
Run the image from the command line:

<pre><code>
docker run -e NODE_TYPE=full -e P2P_NETWORK=mocha ghcr.io/celestiaorg/celestia-node:sha-{mochaVersions['node-latest-sha'].slice(0, 7)} celestia full start --core.ip rpc-mocha.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
docker run -e NODE_TYPE=full -e P2P_NETWORK=mocha ghcr.io/celestiaorg/celestia-node:sha-{mochaVersions['node-latest-sha'].slice(0, 7)} celestia full start --core.ip rpc-mocha.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
</code></pre>

:::tip
Expand All @@ -246,7 +246,7 @@ you can refer to the
Run the image from the command line:

<pre><code>
docker run -e NODE_TYPE=full -e P2P_NETWORK=arabica ghcr.io/celestiaorg/celestia-node:{arabicaVersions['node-latest-tag']} celestia full start --core.ip consensus-full-arabica-8.celestia-arabica.com --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
docker run -e NODE_TYPE=full -e P2P_NETWORK=arabica ghcr.io/celestiaorg/celestia-node:{arabicaVersions['node-latest-tag']} celestia full start --core.ip consensus-full-arabica-8.celestia-arabica.com --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
</code></pre>

:::tip
Expand Down Expand Up @@ -326,7 +326,7 @@ a light node on Blockspace Race:

````mdx-code-block
<pre><code>
docker run -e NODE_TYPE=light -e P2P_NETWORK=blockspacerace -v $HOME/my-node-store:/home/celestia ghcr.io/celestiaorg/celestia-node:{blockspaceraceVersions['node-latest-tag']} celestia light start --core.ip rpc-blockspacerace.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
docker run -e NODE_TYPE=light -e P2P_NETWORK=blockspacerace -v $HOME/my-node-store:/home/celestia ghcr.io/celestiaorg/celestia-node:{blockspaceraceVersions['node-latest-tag']} celestia light start --core.ip rpc-blockspacerace.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
</code></pre>
````

Expand Down
24 changes: 12 additions & 12 deletions docs/nodes/light-node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ required to be open on your machine.
:::

```sh
celestia light start --core.ip <ip-address> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network <network>
celestia light start --core.ip <ip-address> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network <network>
```

</TabItem>
Expand All @@ -1009,7 +1009,7 @@ required to be open on your machine.
:::

```sh
celestia light start --core.ip <ip-address> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network mocha
celestia light start --core.ip <ip-address> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network mocha
```

</TabItem>
Expand All @@ -1031,7 +1031,7 @@ required to be open on your machine.
:::

```sh
celestia light start --core.ip <ip-address> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network <network>
celestia light start --core.ip <ip-address> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network <network>
```

</TabItem>
Expand All @@ -1045,7 +1045,7 @@ If you need a list of RPC endpoints to connect to, you can check from the list [
For example, your command might look something like this:

```sh
celestia light start --core.ip rpc-blockspacerace.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
celestia light start --core.ip rpc-blockspacerace.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network blockspacerace
```

</TabItem>
Expand All @@ -1056,7 +1056,7 @@ If you need a list of RPC endpoints to connect to, you can check from the list [
For example, your command might look something like this:

```sh
celestia light start --core.ip rpc-mocha.pops.one --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
celestia light start --core.ip rpc-mocha.pops.one --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network mocha
```

</TabItem>
Expand All @@ -1067,7 +1067,7 @@ If you need a list of RPC endpoints to connect to, you can check from the list [
For example, your command might look something like this:

```sh
celestia light start --core.ip consensus-full-arabica-8.celestia-arabica.com --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
celestia light start --core.ip consensus-full-arabica-8.celestia-arabica.com --gateway.deprecated-endpoints --gateway --gateway.addr 127.0.0.1 --gateway.port 26659 --p2p.network arabica
```

</TabItem>
Expand All @@ -1090,7 +1090,7 @@ following command:
<TabItem value="blockspacerace" label="Blockspace Race">

```sh
celestia light start --core.ip <ip-address> --keyring.accname <key_name> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network blockspacerace
celestia light start --core.ip <ip-address> --keyring.accname <key_name> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network blockspacerace
```

Once you start the Light Node, a wallet key will be generated for you.
Expand All @@ -1101,7 +1101,7 @@ You will need to fund that address with testnet tokens to pay for
<TabItem value="mocha" label="Mocha">

```sh
celestia light start --core.ip <ip-address> --keyring.accname <key-name> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network mocha
celestia light start --core.ip <ip-address> --keyring.accname <key-name> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network mocha
```

Once you start the Light Node, a wallet key will be generated for you.
Expand All @@ -1112,7 +1112,7 @@ You will need to fund that address with testnet tokens to pay for
<TabItem value="arabica" label="Arabica 🏗️">

```sh
celestia light start --keyring.accname <key_name> --core.ip <ip-address> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network arabica
celestia light start --keyring.accname <key_name> --core.ip <ip-address> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network arabica
```

Once you start the Light Node, a wallet key will be generated for you.
Expand Down Expand Up @@ -1162,21 +1162,21 @@ In order to run a light node using a custom key:
<TabItem value="blockspacerace" label="Blockspace Race">

```sh
celestia light start --core.ip <ip-address> --keyring.accname <name_of_custom_key> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network blockspacerace
celestia light start --core.ip <ip-address> --keyring.accname <name_of_custom_key> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network blockspacerace
```

</TabItem>
<TabItem value="mocha" label="Mocha">

```sh
celestia light start --core.ip <ip-address> --keyring.accname <name_of_custom_key> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network mocha
celestia light start --core.ip <ip-address> --keyring.accname <name_of_custom_key> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network mocha
```

</TabItem>
<TabItem value="arabica" label="Arabica 🏗️">

```sh
celestia light start --core.ip <ip-address> --keyring.accname <name_of_custom_key> --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network arabica
celestia light start --core.ip <ip-address> --keyring.accname <name_of_custom_key> --gateway.deprecated-endpoints --gateway --gateway.addr <ip-address> --gateway.port <port> --p2p.network arabica
```

</TabItem>
Expand Down