Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 61db67c

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/npm_and_yarn-8691e273c3
2 parents 999687b + be37032 commit 61db67c

File tree

9 files changed

+144
-226
lines changed

9 files changed

+144
-226
lines changed

.github/workflows/preview.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ concurrency: preview-${{ github.ref }}
1414

1515
jobs:
1616
deploy-preview:
17+
if: github.actor != 'dependabot[bot]'
1718
runs-on: ubuntu-latest
1819
permissions: write-all
1920
steps:

guides/ignite-rollkit.md

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

guides/reset-state.md

Lines changed: 42 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Some reason you might need to reset the state of your chain are:
1414

1515
## Prerequisites
1616

17-
In order to complete this guide, you will need to have completed either the [quick start tutorial](/tutorials/quick-start.md) or the [build our chain tutorial](/tutorials/wordle.md).
17+
In order to complete this guide, you will need to have completed either the [quick start tutorial](/tutorials/quick-start.md) or the [build our chain tutorial](/tutorials/gm-world.md).
1818

1919
## Quick Start
2020

@@ -50,64 +50,84 @@ ${BINARY} unsafe-clean
5050

5151
When you launch your chain again with `rollkit start` your `.rollkit` directory will be re-created and you will see your chain starting at block height 1 again.
5252

53-
## Wordle
53+
## gm-world
5454

55-
When you ran your wordle chain in the [build your chain tutorial](/tutorials/wordle.md), it created a `.wordle` directory.
55+
When you ran your gm-world chain in the [build your chain tutorial](/tutorials/gm-world.md), it created a `.gm` directory in your `$HOME` directory.
5656

5757
This directory will look like the following:
5858

5959
```bash
60-
tree $HOME/.wordle
60+
tree $HOME/.gm
6161

6262
├── config
6363
│   ├── app.toml
6464
│   ├── client.toml
6565
│   ├── config.toml
6666
│   ├── genesis.json
6767
│   ├── gentx
68-
│   │   └── gentx-6e46bd1f53acead98b43e63fcf2bd5435499350d.json
68+
│   │   └── gentx-418077c64f0cf5824c24487c9cce38241de677cd.json
6969
│   ├── node_key.json
70-
│   └── priv_validator_key.json
70+
│   ├── priv_validator_key.json
71+
│   └── rollkit.yaml
7172
├── data
7273
│   ├── application.db
7374
│   │   ├── 000001.log
7475
│   │   ├── CURRENT
7576
│   │   ├── LOCK
7677
│   │   ├── LOG
7778
│   │   └── MANIFEST-000000
79+
│   ├── cache
80+
│   │   ├── data
81+
│   │   │   ├── da_included.gob
82+
│   │   │   ├── hashes.gob
83+
│   │   │   ├── items_by_hash.gob
84+
│   │   │   └── items_by_height.gob
85+
│   │   └── header
86+
│   │   ├── da_included.gob
87+
│   │   ├── hashes.gob
88+
│   │   ├── items_by_hash.gob
89+
│   │   └── items_by_height.gob
7890
│   ├── priv_validator_state.json
7991
│   ├── rollkit
8092
│   │   ├── 000001.sst
8193
│   │   ├── 000001.vlog
8294
│   │   ├── DISCARD
8395
│   │   ├── KEYREGISTRY
8496
│   │   └── MANIFEST
85-
│   └── snapshots
86-
│   └── metadata.db
87-
│   ├── 000001.log
88-
│   ├── CURRENT
89-
│   ├── LOCK
90-
│   ├── LOG
91-
│   └── MANIFEST-000000
97+
│   ├── snapshots
98+
│   │   └── metadata.db
99+
│   │   ├── 000001.log
100+
│   │   ├── CURRENT
101+
│   │   ├── LOCK
102+
│   │   ├── LOG
103+
│   │   └── MANIFEST-000000
104+
│   └── tx_index.db
105+
│   ├── 000001.log
106+
│   ├── CURRENT
107+
│   ├── LOCK
108+
│   ├── LOG
109+
│   └── MANIFEST-000000
92110
└── keyring-test
93-
├── 4a90e750914792c2d7f98775c13a588d9d304bd0.address
94-
├── 53dab037ac3bd380f4a9192b2c6eedbe95fce180.address
111+
├── 87af99a184613860ee9563be57a9fb4e7b25acb8.address
95112
├── alice.info
96-
└── bob.info
113+
├── bob.info
114+
└── e24d9eeca2d24193bdd98ed9116ff70f8a2e2b5e.address
97115
```
98116

99-
The directories you need to delete to reset your state are in the `.wordle/data` directory.
117+
The directories you need to delete to reset your state are in the `./data` directory.
100118

101119
```bash
102-
$HOME/.wordle/data/application.db
103-
$HOME/.wordle/data/rollkit
104-
$HOME/.wordle/data/snapshots
120+
$HOME/.gm/data/application.db
121+
$HOME/.gm/data/rollkit
122+
$HOME/.gm/data/snapshots
123+
$HOME/.gm/data/cache
124+
105125
```
106126

107127
You can delete them with the following command:
108128

109129
```bash
110-
rollkit tendermint unsafe-reset-all
130+
gmd tendermint unsafe-reset-all
111131
```
112132

113-
When you launch your chain again with your `rollkit start <flags>` command, these data directories will be re-created and you will see your chain starting at block height 1 again.
133+
When you launch your chain again with your `gmd start <flags>` command, these data directories will be re-created and you will see your chain starting at block height 1 again.

learn/building-and-deploying-a-rollup.md

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

public/install-local-da.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#!/bin/bash
22

33
echo "Downloading Local-DA source code..."
4-
git clone https://github.com/rollkit/rollkit.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..."
4+
git clone --depth=1 https://github.com/rollkit/rollkit.git
5+
# TODO : replace with go install once the repo is tagged
6+
cd rollkit || { echo "Failed to find the downloaded repository"; exit 1; }
87
make build-da
98
echo "Starting Local DA..."
109
./build/local-da

tutorials/da/local-da.md

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

1010
This tutorial serves as a comprehensive guide for using the [local-da](https://github.com/rollkit/local-da) with your chain.
1111

12-
Before proceeding, ensure that you have completed the [quick start](/tutorials/quick-start) or [build a chain](/tutorials/wordle) tutorial, which covers installing the rollkit CLI, building your chain, and running your chain.
12+
Before proceeding, ensure that you have completed the [quick start](/tutorials/quick-start) or [build a chain](/tutorials/gm-world.md) tutorial, which covers installing the rollkit CLI, building your chain, and running your chain.
1313

1414
## Setting Up a Local DA Network
1515

@@ -35,11 +35,11 @@ Start your rollup node with the following command, ensuring to include the DA ad
3535
{BINARY} start --rollkit.da.address http://localhost:7980
3636
```
3737

38-
```sh [Wordle Chain]
38+
```sh [gm-world Chain]
3939
{BINARY} start \
4040
--rollkit.aggregator \
4141
--rollkit.da.address http://localhost:7980 \
42-
--rollkit.sequencer_rollup_id wordle
42+
--rollkit.sequencer_rollup_id gmd
4343
```
4444

4545
:::

tutorials/da/overview.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ The [DA interface](https://github.com/rollkit/rollkit/blob/main/core/da/da.go#L1
1919
```go
2020
// DA defines very generic interface for interaction with Data Availability layers.
2121
type DA interface {
22-
// MaxBlobSize returns the max blob size
23-
MaxBlobSize(ctx context.Context) (uint64, error)
24-
2522
// Get returns Blob for each given ID, or an error.
2623
//
2724
// Error should be returned if ID is not formatted properly, there is no Blob for given ID or any other client-level
@@ -61,7 +58,7 @@ type DA interface {
6158

6259
## Mock DA {#mock-da}
6360

64-
You might have noticed that we did not define any DA layer during the [quick start](../quick-start.md) or [build a chain](../wordle.md) tutorials. This is because we used a mock DA layer that is built into Rollkit.
61+
You might have noticed that we did not define any DA layer during the [quick start](../quick-start.md) or [build a chain](/tutorials/gm-world.md) tutorials. This is because we used a mock DA layer that is built into Rollkit.
6562

6663
If you revisit the logs from those tutorials, you will see one of the first lines being:
6764

0 commit comments

Comments
 (0)