From b27af5692aef9bc5e2592496372a978a4e2763f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20P=C3=A9rez?= Date: Tue, 20 Feb 2024 16:50:07 +0100 Subject: [PATCH] Update README --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 50cd53f9..371a1d3b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ EVM Blockchain Scraper, mainly for 0x Protocol Events and some extra useful Even Run locally: -1. Copy the `.env.exmaple` file to `.env`. +1. Copy the `.env.exmaple` file to `.env`. Add the `RPC_URL` for the chain(s) you are going to run Configure the scape **Mode** @@ -45,10 +45,11 @@ Set `MODE="EVENTS"` in `.env` to use events mode. Switching modes is currently not automated but it is possible following the next steps #### Events to Blocks -1. Stop the Scraper -2. Delete the last `MAX_BLOCKS_REORG` blocks from the `blocks` table (just to be sure we are not skipping anything) -3. Change the mode to `BLOCKS` -4. Start the scraper +1. Make sure there are no backfills in process +2. Stop the Scraper +3. Delete the last `MAX_BLOCKS_REORG` blocks from the `blocks` table (just to be sure we are not skipping anything) +4. Change the mode to `BLOCKS` +5. Start the scraper #### Blocks to Events