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
Copy file name to clipboardExpand all lines: guides/restart-rollup.md
+29-27Lines changed: 29 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -6,30 +6,40 @@ This guide will teach you how to restart your Rollkit rollup.
6
6
7
7
This section covers the case where you need to restart your rollup.
8
8
9
-
In order to restart your rollup, you will need to run the `<your-binary>d start [...args]`
9
+
In order to restart your rollup, you simply need to run the `<your-binary>d start [...args]`
10
10
command for your rollup.
11
-
This [is the example for the GM world tutorial](https://github.com/rollkit/docs/blob/8c69bfc1a545b758a260198feecb39806e9794a7/scripts/gm/init-local.sh#L94).
12
11
13
-
For the GM world tutorial, you can restart the chain by
14
-
[running the `restart-local.sh` script that was generated by `init-local.sh`](https://github.com/rollkit/docs/blob/8c69bfc1a545b758a260198feecb39806e9794a7/scripts/gm/init-local.sh#L85-L91).
12
+
For example, if you ran the [quick start](../tutorials/quick-start.md) tutorial, you started your rollup with:
15
13
16
-
Use the `DA_START_HEIGHT`, `NAMESPACE`, and `AUTH_TOKEN` variables from your original
17
-
start command.
14
+
```bash
15
+
rollkit start
16
+
```
17
+
18
+
You would have see output similar to:
19
+
20
+
```bash
21
+
I[2024-10-17|14:52:12.845] Creating and publishing block module=BlockManager height=7
It is important to include any additional flags that you used when you first started your rollup. For example, if you used the `--rollkit.da_namespace` flag, you will need to include that flag when restarting your rollup to ensure your rollup continues to publish blobs to the same namespace.
33
43
34
44
## Restart rollup after running out of funds
35
45
@@ -38,7 +48,7 @@ you are using to post blocks to your DA and consensus layer runs out of funds (t
38
48
and you need to restart your rollup.
39
49
40
50
In this example, we're using Celestia's [Mocha testnet](https://docs.celestia.org/nodes/mocha-testnet/)
41
-
and running a [GM world rollup](./gm-world.md). In this example, our Celestia DA light node
51
+
and running the [quick start](../tutorials/quick-start.md). In this example, our Celestia DA light node
42
52
ran out of Mocha testnet TIA and we are unable to post new blocks to Celestia due to a
To reiterate, before restarting the chain, you will need to increase the gas fee in order to avoid a `Code: 19` error. See the [How to configure gas price](./gas-price.md) guide for more information.
86
92
87
93
### 🔁 Restarting your rollup {#restarting-your-rollup}
88
94
@@ -92,8 +98,4 @@ Follow the [restart rollup](#restart-rollup) section above.
92
98
93
99
In order to save your TIA, we also recommend stopping the chain with `Control + C`, changing the gas fee back to the default (in our case, 8000 utia) and restarting the chain:
0 commit comments