From c4b032577ecb1e31429bff307f45acacd9647b5d Mon Sep 17 00:00:00 2001 From: Para Dox Date: Sat, 19 Apr 2025 12:44:42 +0700 Subject: [PATCH] nuclear rollup --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c6af9c8..1b182c33 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,10 @@ This directory includes several useful scripts to help you manage and monitor yo - `list-backups.sh` - List available backup files - `op-wheel.sh` - Tool for Optimism rollup maintenance, including rewinding to a specific block + +Note: `` refers to the compose file name without the .yml extension (e.g., `ethereum-mainnet` for ethereum-mainnet.yml) + + #### Nuclear option to recreate a node ```bash @@ -192,7 +196,9 @@ Note: some configurations use staged sync which means that there is no measurabl You can chain `./success-if-almost-synced.sh ` with other scripts to create more complex automation, e.g. notify you once a node synced up to chainhead or adding the node to the dshackle configuration or taking a backup to clone the node to a different server. -#### OP Wheel Usage Example +#### OP Wheel Usage Example + +Be aware that this is dangerous because you skip every check for your rollups op-geth execution client database to be consistent. ```bash # Rewind an Optimism rollup to a specific block @@ -201,7 +207,13 @@ You can chain `./success-if-almost-synced.sh ` refers to the compose file name without the .yml extension (e.g., `ethereum-mainnet` for ethereum-mainnet.yml) +Nuclear option: +```bash +# Finalize the latest locally available block of an Optimism rollup +./op-wheel-finalize-latest-block.sh () +``` + +Where `` is the name of the client service in the compose file and `` is the name of the node service in the compose file which defaults to `-node`. ## SSL Certificates and IP Configuration