Skip to content

Commit bfc9db6

Browse files
authored
fix: da tutorials (#580)
* fix local-da * remove rollkit ignite page * fix celestia da
1 parent 2f99650 commit bfc9db6

File tree

3 files changed

+14
-17
lines changed

3 files changed

+14
-17
lines changed

.vitepress/config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,6 @@ function sidebarHome() {
288288
text: "How To Guides",
289289
collapsed: true,
290290
items: [
291-
{
292-
text: "Use Ignite to create a Rollkit app",
293-
link: "/guides/ignite-rollkit",
294-
},
295291
{
296292
text: "Run a Full Node",
297293
link: "/guides/full-node",

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

tutorials/da/local-da.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ Start your rollup node with the following command, ensuring to include the DA ad
3737

3838
```sh [gm-world Chain]
3939
{BINARY} start \
40-
--rollkit.aggregator \
40+
--rollkit.node.aggregator \
4141
--rollkit.da.address http://localhost:7980 \
42-
--rollkit.sequencer_rollup_id gmd
4342
```
4443

4544
:::

0 commit comments

Comments
 (0)