Skip to content

Commit 97c5031

Browse files
committed
fix celestia da
1 parent fafd257 commit 97c5031

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

tutorials/da/celestia-da.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ import constants from '../../.vitepress/constants/constants.js'
99

1010
This tutorial serves as a comprehensive guide for deploying your rollup on Celestia's data availability (DA) network. From the Rollkit perspective, there's no difference in posting blocks to Celestia's testnets or Mainnet Beta.
1111

12-
Before proceeding, ensure that you have completed the [quick start](/tutorials/quick-start) tutorial, which covers installing the rollkit CLI and running a rollup against a local DA network.
12+
Before proceeding, ensure that you have completed the [gm-world](/tutorials/gm-world) tutorial, which covers installing the Testapp CLI and running a rollup against a local DA network.
1313

1414
## 🪶 Running a Celestia light node
1515

1616
Before you can start your rollup node, you need to initiate, sync, and fund a light node on one of Celestia's networks on a compatible version:
1717

18+
Find more information on how to run a light node in the [Celestia documentation](https://celestia.org/run-a-light-node/#start-up-a-node).
19+
1820
::: code-group
1921

2022
```sh-vue [Arabica]
@@ -44,18 +46,18 @@ After successfully starting a light node, it's time to start posting the batches
4446

4547
## 🏗️ Prerequisites {#prerequisites}
4648

47-
- `rollkit` CLI installed from the [quick start](/tutorials/quick-start) tutorial.
49+
- `gmd` CLI installed from the [gm-world](/tutorials/gm-world) tutorial.
4850

4951
## 🛠️ Configuring flags for DA
5052

5153
Now that we are posting to the Celestia DA instead of the local DA, the `rollkit start` command requires three DA configuration flags:
5254

53-
- `--rollkit.da_start_height`
54-
- `--rollkit.da_auth_token`
55-
- `--rollkit.da_namespace`
55+
- `--rollkit.da.start_height`
56+
- `--rollkit.da.auth_token`
57+
- `--rollkit.da.namespace`
5658

5759
:::tip
58-
Optionally, you could also set the `--rollkit.da_block_time` flag. This should be set to the finality time of the DA layer, not its actual block time, as Rollkit does not handle reorganization logic. The default value is 15 seconds.
60+
Optionally, you could also set the `--rollkit.da.block_time` flag. This should be set to the finality time of the DA layer, not its actual block time, as Rollkit does not handle reorganization logic. The default value is 15 seconds.
5961
:::
6062

6163
Let's determine which values to provide for each of them.
@@ -130,11 +132,11 @@ DA_ADDRESS=http://localhost:26658
130132
Finally, let's initiate the rollup node with all the flags:
131133

132134
```bash
133-
rollkit start \
134-
--rollkit.aggregator \
135-
--rollkit.da_auth_token $AUTH_TOKEN \
136-
--rollkit.da_namespace $DA_NAMESPACE \
137-
--rollkit.da_start_height $DA_BLOCK_HEIGHT \
135+
gmd start \
136+
--rollkit.node.aggregator \
137+
--rollkit.da.auth_token $AUTH_TOKEN \
138+
--rollkit.da.namespace $DA_NAMESPACE \
139+
--rollkit.da.start_height $DA_BLOCK_HEIGHT \
138140
--rollkit.da.address $DA_ADDRESS
139141
```
140142

0 commit comments

Comments
 (0)