You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: guides/reset-state.md
+42-22Lines changed: 42 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Some reason you might need to reset the state of your chain are:
14
14
15
15
## Prerequisites
16
16
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).
18
18
19
19
## Quick Start
20
20
@@ -50,64 +50,84 @@ ${BINARY} unsafe-clean
50
50
51
51
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.
52
52
53
-
## Wordle
53
+
## gm-world
54
54
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.
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.
100
118
101
119
```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
+
105
125
```
106
126
107
127
You can delete them with the following command:
108
128
109
129
```bash
110
-
rollkit tendermint unsafe-reset-all
130
+
gmd tendermint unsafe-reset-all
111
131
```
112
132
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.
Copy file name to clipboardExpand all lines: tutorials/da/local-da.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import constants from '../../.vitepress/constants/constants.js'
9
9
10
10
This tutorial serves as a comprehensive guide for using the [local-da](https://github.com/rollkit/local-da) with your chain.
11
11
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.
13
13
14
14
## Setting Up a Local DA Network
15
15
@@ -35,11 +35,11 @@ Start your rollup node with the following command, ensuring to include the DA ad
Copy file name to clipboardExpand all lines: tutorials/da/overview.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,6 @@ The [DA interface](https://github.com/rollkit/rollkit/blob/main/core/da/da.go#L1
19
19
```go
20
20
// DA defines very generic interface for interaction with Data Availability layers.
21
21
typeDAinterface {
22
-
// MaxBlobSize returns the max blob size
23
-
MaxBlobSize(ctx context.Context) (uint64, error)
24
-
25
22
// Get returns Blob for each given ID, or an error.
26
23
//
27
24
// 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 {
61
58
62
59
## Mock DA {#mock-da}
63
60
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.
65
62
66
63
If you revisit the logs from those tutorials, you will see one of the first lines being:
0 commit comments