mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(storage): dont skip consistency checks for op-mainnet if using minimal bootstrap (#11099)
This commit is contained in:
@ -2,10 +2,10 @@
|
||||
|
||||
To sync OP mainnet, bedrock state needs to be imported as a starting point. There are currently two ways:
|
||||
|
||||
* Minimal bootstrap: only state snapshot at Bedrock block is imported without any OVM historical data.
|
||||
* Full bootstrap: state, blocks and receipts are imported.
|
||||
* Minimal bootstrap **(recommended)**: only state snapshot at Bedrock block is imported without any OVM historical data.
|
||||
* Full bootstrap **(not recommended)**: state, blocks and receipts are imported. *Not recommended for now: [storage consistency issue](https://github.com/paradigmxyz/reth/pull/11099) tldr: sudden crash may break the node
|
||||
|
||||
## Minimal bootstrap
|
||||
## Minimal bootstrap (recommended)
|
||||
|
||||
**The state snapshot at Bedrock block is required.** It can be exported from [op-geth](https://github.com/testinprod-io/op-erigon/blob/pcw109550/bedrock-db-migration/bedrock-migration.md#export-state) (**.jsonl**) or downloaded directly from [here](https://mega.nz/file/GdZ1xbAT#a9cBv3AqzsTGXYgX7nZc_3fl--tcBmOAIwIA5ND6kwc).
|
||||
|
||||
@ -16,7 +16,9 @@ $ op-reth node --chain optimism --datadir op-mainnet --debug.tip 0x098f87b75c8b8
|
||||
```
|
||||
|
||||
|
||||
## Full bootstrap
|
||||
## Full bootstrap (not recommended)
|
||||
|
||||
**Not recommended for now**: [storage consistency issue](https://github.com/paradigmxyz/reth/pull/11099) tldr: sudden crash may break the node.
|
||||
|
||||
### Import state
|
||||
|
||||
|
||||
Reference in New Issue
Block a user