Skip to content

Commit 64d63bc

Browse files
committed
adding fix steps
1 parent 176d5d3 commit 64d63bc

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

pages/notices/blob-fee-bug.mdx

+37
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,40 @@ The following chains are in the Superchain Registry and are not opted into the h
9191

9292
If your Pectra Blob Schedule fix activation time is not in the Superchain Registry, decide on a hardfork activation time, and open a PR update the Superchain Registry with the activation time. See this [PR](https://github.com/ethereum-optimism/superchain-registry/pull/941) as an example.
9393
</Steps>
94+
95+
## Fixing diverged nodes
96+
97+
If you upgraded your node binary to `op-node/v1.12.1` or `op-node/v1.12.0` and did not set the Pectra Blob Schedule Fix activation time your node will have forked from the rest of the network.
98+
99+
To fix this, you can either restore your node from a snapshot and configure the Pectra Blob Schedule Fix activation time. Or you can use [`op-wheel`](https://github.com/ethereum-optimism/optimism/tree/develop/op-wheel) to roll back your node to a block before you diverged from the network.
100+
101+
<Steps>
102+
### Stop the node
103+
104+
* Stop op-node: This component is stateless, so you can simply terminate the process.
105+
Stop op-geth: It's crucial to use `Ctrl+C` to stop op-geth gracefully to avoid database corruption. An unclean shutdown can lead to various problems when restarting.
106+
107+
### Query `op-geth` for a block to reorg to
108+
109+
```
110+
cast block --rpc-url=http://localhost:8545 6185373
111+
#hash: 0x8b39f479198a5e658bbb28b1ce80790ca863ac39206c36152ba5c38db68989b2
112+
#timestamp: 1735565082
113+
# 6185373 in hex is 0x5E619D
114+
```
115+
116+
### Reorg the chain
117+
118+
```
119+
cast rpc --rpc-url=http://localhost:8545 debug_setHead 0x5E619D
120+
```
121+
### Explicitly set the forkchoice to the new head
122+
123+
For example:
124+
125+
```
126+
go run ./op-wheel/cmd engine set-forkchoice --engine=http://localhost:8551 --engine.jwt-secret=.jwt_secret.txt --finalized=6185373 --safe=6185373 --unsafe=6185373
127+
```
128+
129+
</Steps>
130+

0 commit comments

Comments
 (0)