Skip to content

Commit 5ebc849

Browse files
authored
Merge pull request #1131 from richardgreg/rollup-operations-update
Update rollup operators under chain management
2 parents 60e1422 + 12e7eb2 commit 5ebc849

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

pages/builders/chain-operators/management/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"blobs": "Using blobs",
33
"snap-sync": "Using Snap Sync",
4-
"operations": "Node operations",
4+
"operations": "Rollup operations",
55
"key-management": "Key management",
66
"troubleshooting": "Troubleshooting",
77
"best-practices": "Best practices"

pages/builders/chain-operators/management/operations.mdx

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ An orderly shutdown is done in the reverse order to the order in which component
2323
This way the batcher knows to save any data it has cached to L1.
2424
Wait until you see `Batch Submitter stopped` in batcher's output before you stop the process.
2525

26+
### Stop `op-proposer`
27+
28+
To stop the proposer, terminate the process directly. This can be done by:
29+
30+
* Pressing **Ctrl+C** in the terminal running the process
31+
* Using system commands like `kill -TERM <pid>` to stop the process gracefully
32+
33+
Ensure that the proposer process has terminated completely before proceeding to stop other components.
34+
2635
### Stop `op-node`
2736
This component is stateless, so you can just stop the process.
2837

@@ -44,6 +53,26 @@ To restart the blockchain, use the same order of components you did when you ini
4453
curl -d '{"id":0,"jsonrpc":"2.0","method":"admin_startBatcher","params":[]}' \
4554
-H "Content-Type: application/json" http://localhost:8548 | jq
4655
```
56+
### Start `op-proposer`
57+
58+
Start the proposer using the appropriate command. Here's an example:
59+
60+
```sh
61+
./bin/op-proposer \
62+
--poll-interval=12s \
63+
--rpc.port=8560 \
64+
--rollup-rpc=http://localhost:8547 \
65+
--l2oo-address=0xYourL2OutputOracleAddress \
66+
--private-key=$PROPOSER_PRIVATE_KEY \
67+
--l1-eth-rpc=$L1_RPC_URL
68+
```
69+
| Parameter | Description |
70+
| ------------- | -------------------------------------------------------------- |
71+
| poll-interval | How often to check for new output proposals (recommended: 12s) |
72+
| rpc.port | Local RPC port for the proposer service |
73+
| l2oo-address | The L2 Output Oracle contract address (0x-prefixed hex) |
74+
| private-key | Private key for signing proposals |
75+
| l1-eth-rpc | L1 network RPC endpoint URL |
4776
</Steps>
4877
<Callout type="info">
4978
Synchronization takes time
@@ -74,7 +103,7 @@ This script will NOT work for chain operators trying to generate this data in or
74103
You'll need to run this tool:
75104

76105
```
77-
./bin/op-node networks dump-rollup-config --network=sepolia
106+
./bin/op-node networks dump-rollup-config --network=op-sepolia
78107
{
79108
"genesis": {
80109
"l1": {
@@ -115,7 +144,7 @@ You'll need to run this tool:
115144
```
116145
### Check the flags
117146
Ensure that you are using the appropriate flag.
118-
The `--network=sepolia` flag allows the tool to pick up the appropriate data from the registry, and uses the OPChains mapping under the hood.
147+
The `--network=op-sepolia` flag allows the tool to pick up the appropriate data from the registry, and uses the OPChains mapping under the hood.
119148

120149
</Steps>
121150

0 commit comments

Comments
 (0)