@@ -16,7 +16,7 @@ For the GM world tutorial, you can restart the chain by
16
16
Use the ` DA_START_HEIGHT ` , ` NAMESPACE ` , and ` AUTH_TOKEN ` variables from your original
17
17
start command.
18
18
19
- Using the ` gmd ` rollup as an example, you can add something similar to your
19
+ Using the ` rollkit ` rollup as an example, you can add something similar to your
20
20
respective start script to make it easier to save variables for later use:
21
21
22
22
``` bash
@@ -27,7 +27,7 @@ rm restart-local.sh
27
27
echo " DA_BLOCK_HEIGHT=$DA_BLOCK_HEIGHT " >> restart-local.sh
28
28
echo " NAMESPACE=$NAMESPACE " >> restart-local.sh
29
29
echo " AUTH_TOKEN=$AUTH_TOKEN " >> restart-local.sh
30
- echo " gmd start --rollkit.aggregator --rollkit.da_auth_token=\$ AUTH_TOKEN --rollkit.da_namespace \$ NAMESPACE --rollkit.da_start_height \$ DA_BLOCK_HEIGHT --rpc.laddr tcp://127.0.0.1:36657 --grpc.address 127.0.0.1:9290 --p2p.laddr \" 0.0.0.0:36656\" " >> restart-local.sh
30
+ echo " rollkit start --rollkit.aggregator --rollkit.da_auth_token=\$ AUTH_TOKEN --rollkit.da_namespace \$ NAMESPACE --rollkit.da_start_height \$ DA_BLOCK_HEIGHT --rpc.laddr tcp://127.0.0.1:36657 --grpc.address 127.0.0.1:9290 --p2p.laddr \" 0.0.0.0:36656\" " >> restart-local.sh
31
31
```
32
32
33
33
@@ -81,7 +81,7 @@ You can stop your gm chain (or other Rollkit rollup) by using `Control + C` in y
81
81
To reiterate, before restarting the chain, you will need to increase the gas fee in order to avoid a ` Code: 19 ` error:
82
82
83
83
``` bash
84
- gmd start --rollkit.aggregator --rollkit.da_auth_token=$AUTH_TOKEN --rollkit.da_namespace $NAMESPACE --rollkit.da_start_height $DA_BLOCK_HEIGHT --rpc.laddr tcp://127.0.0.1:36657 --grpc.address 127.0.0.1:9290 --p2p.laddr " 0.0.0.0:36656"
84
+ rollkit start --rollkit.aggregator --rollkit.da_auth_token=$AUTH_TOKEN --rollkit.da_namespace $NAMESPACE --rollkit.da_start_height $DA_BLOCK_HEIGHT --rpc.laddr tcp://127.0.0.1:36657 --grpc.address 127.0.0.1:9290 --p2p.laddr " 0.0.0.0:36656"
85
85
```
86
86
87
87
### 🔁 Restarting your rollup {#restarting-your-rollup}
@@ -93,7 +93,7 @@ Follow the [restart rollup](#restart-rollup) section above.
93
93
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:
94
94
95
95
``` bash
96
- gmd start --rollkit.aggregator --rollkit.da_auth_token=$AUTH_TOKEN --rollkit.da_namespace $NAMESPACE --rollkit.da_start_height $DA_BLOCK_HEIGHT --rpc.laddr tcp://127.0.0.1:36657 --grpc.address 127.0.0.1:9290 --p2p.laddr " 0.0.0.0:36656"
96
+ rollkit start --rollkit.aggregator --rollkit.da_auth_token=$AUTH_TOKEN --rollkit.da_namespace $NAMESPACE --rollkit.da_start_height $DA_BLOCK_HEIGHT --rpc.laddr tcp://127.0.0.1:36657 --grpc.address 127.0.0.1:9290 --p2p.laddr " 0.0.0.0:36656"
97
97
```
98
98
99
99
🎊 Congrats! You've successfully restarted your Rollkit rollup after running out of TIA.
0 commit comments