Skip to content

Commit a822e47

Browse files
Change for updated local-da repo (#381)
* Change for updated local-da repo * Pass args to bash using -s
1 parent 5b32b07 commit a822e47

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

.vitepress/constants/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const constants = Object.freeze({
88
rollkitLatestSha: "45b1573",
99
rollkitCosmosSDKVersion: "v0.50.6-rollkit-v0.13.3-no-fraud-proofs",
1010

11-
mockDALatestTag: "v0.1.0",
11+
localDALatestTag: "v0.2.0",
1212

1313
igniteVersionTag: "v28.3.0",
1414
});

public/install-local-da.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
echo "Downloading Local-DA source code..."
4+
git clone https://github.com/rollkit/local-da.git
5+
cd local-da || { echo "Failed to find the downloaded repository"; exit 1; }
6+
git checkout $1
7+
echo "Building and installing Local DA..."
8+
make build
9+
echo "Starting Local DA..."
10+
./build/local-da

public/install-mock-da.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

tutorials/celestia-da.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This tutorial serves as a comprehensive guide for deploying your GM world 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.
66

7-
Before proceeding, ensure that you have completed the [GM world rollup](/tutorials/gm-world) tutorial, which covers setting up a local sovereign gm-world rollup and connecting it to a local mock DA node.
7+
Before proceeding, ensure that you have completed the [GM world rollup](/tutorials/gm-world) tutorial, which covers setting up a local sovereign gm-world rollup and connecting it to a local (mock) DA node.
88

99
## 🪶 Running a Celestia light node
1010

tutorials/gm-world.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Build a sovereign rollup using only Rollkit CLI and a mock DA network.
2+
description: Build a sovereign rollup using only Rollkit CLI and a local DA network.
33
---
44

55
# GM world rollup
@@ -45,10 +45,10 @@ Rollkit uses the [Go programming language](https://go.dev/dl/). Here's how to in
4545

4646
Learn to run a local DA network, designed for educational purposes, on your machine.
4747

48-
To set up a mock DA network node:
48+
To set up a local DA network node:
4949

5050
```bash-vue
51-
curl -sSL https://rollkit.dev/install-mock-da.sh | bash {{constants.mockDALatestTag}}
51+
curl -sSL https://rollkit.dev/install-local-da.sh | bash -s {{constants.localDALatestTag}}
5252
```
5353

5454
This script builds and runs the node, now listening on port `7980`.

tutorials/wordle.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -545,17 +545,17 @@ compile the blockchain and take it out for a test drive.
545545
## ⛓️ Run the wordle chain
546546
<!-- markdownlint-disable MD013 -->
547547

548-
### 🪶 Run a mock DA node {#run-mock-da-node}
548+
### 🪶 Run a local DA node {#run-local-da-node}
549549

550-
To set up a mock data availability network node run:
550+
To set up a local data availability network node run:
551551

552552
```bash-vue
553-
curl -sSL https://rollkit.dev/install-mock-da.sh | sh {{constants.mockDALatestTag}}
553+
curl -sSL https://rollkit.dev/install-local-da.sh | sh {{constants.localDALatestTag}}
554554
```
555555

556556
This script builds and runs the node, now listening on port `7980`.
557557

558-
After you have Go and Ignite CLI installed, and your mock data availability node
558+
After you have Go and Ignite CLI installed, and your local data availability node
559559
running on your machine, you're ready to build, test, and launch your own sovereign rollup.
560560

561561
### 🟢 Building and running wordle chain {#build-and-run-wordle-chain}

0 commit comments

Comments
 (0)