From 7e7a01560a79a0cd3f0fd9c09bd45ae749cc43fe Mon Sep 17 00:00:00 2001 From: Nabarun Date: Thu, 13 Jun 2024 17:45:31 +0530 Subject: [PATCH] Set config enableState to false for subgraph watchers --- README.md | 10 ++++++++++ packages/blocks-watcher/README.md | 6 +----- packages/blocks-watcher/environments/local.toml | 4 ++-- packages/route-processor-watcher/README.md | 6 +----- .../route-processor-watcher/environments/local.toml | 4 ++-- packages/sushiswap-watcher/README.md | 6 +----- packages/sushiswap-watcher/environments/local.toml | 4 ++-- packages/v2-watcher/README.md | 6 +----- packages/v2-watcher/environments/local.toml | 4 ++-- packages/v3-watcher/README.md | 6 +----- packages/v3-watcher/environments/local.toml | 4 ++-- 11 files changed, 25 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 3fbe763..288447d 100644 --- a/README.md +++ b/README.md @@ -1 +1,11 @@ # sushiswap-watcher-ts + +Watchers for the [sushiswap-subgraphs](https://github.com/cerc-io/sushiswap-subgraphs/tree/watcher-ts) on Filecoin + +## Setup + +* Run the following command to install required packages: + + ```bash + yarn && yarn build + ``` diff --git a/packages/blocks-watcher/README.md b/packages/blocks-watcher/README.md index 095ecb1..366e6bd 100644 --- a/packages/blocks-watcher/README.md +++ b/packages/blocks-watcher/README.md @@ -7,11 +7,7 @@ ## Setup -* Run the following command to install required packages: - - ```bash - yarn - ``` +* Follow root [README.md setup](../../README.md#setup) * Create a postgres12 database for the watcher: diff --git a/packages/blocks-watcher/environments/local.toml b/packages/blocks-watcher/environments/local.toml index 3c8c1c5..afdd5e6 100644 --- a/packages/blocks-watcher/environments/local.toml +++ b/packages/blocks-watcher/environments/local.toml @@ -10,8 +10,8 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently - enableState = true + # CAUTION: Enable if state creation is required + enableState = false subgraphPath = "./subgraph-build" diff --git a/packages/route-processor-watcher/README.md b/packages/route-processor-watcher/README.md index 1f4f259..676712d 100644 --- a/packages/route-processor-watcher/README.md +++ b/packages/route-processor-watcher/README.md @@ -7,11 +7,7 @@ ## Setup -* Run the following command to install required packages: - - ```bash - yarn - ``` +* Follow root [README.md setup](../../README.md#setup) * Create a postgres12 database for the watcher: diff --git a/packages/route-processor-watcher/environments/local.toml b/packages/route-processor-watcher/environments/local.toml index 6c7b896..a861696 100644 --- a/packages/route-processor-watcher/environments/local.toml +++ b/packages/route-processor-watcher/environments/local.toml @@ -10,8 +10,8 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently - enableState = true + # CAUTION: Enable if state creation is required + enableState = false subgraphPath = "./subgraph-build" diff --git a/packages/sushiswap-watcher/README.md b/packages/sushiswap-watcher/README.md index 9061fbc..92e1231 100644 --- a/packages/sushiswap-watcher/README.md +++ b/packages/sushiswap-watcher/README.md @@ -7,11 +7,7 @@ ## Setup -* Run the following command to install required packages: - - ```bash - yarn - ``` +* Follow root [README.md setup](../../README.md#setup) * Create a postgres12 database for the watcher: diff --git a/packages/sushiswap-watcher/environments/local.toml b/packages/sushiswap-watcher/environments/local.toml index c5baa72..c5db5dc 100644 --- a/packages/sushiswap-watcher/environments/local.toml +++ b/packages/sushiswap-watcher/environments/local.toml @@ -10,8 +10,8 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently - enableState = true + # CAUTION: Enable if state creation is required + enableState = false subgraphPath = "./subgraph-build" diff --git a/packages/v2-watcher/README.md b/packages/v2-watcher/README.md index 053bc27..d3eb1ad 100644 --- a/packages/v2-watcher/README.md +++ b/packages/v2-watcher/README.md @@ -7,11 +7,7 @@ ## Setup -* Run the following command to install required packages: - - ```bash - yarn - ``` +* Follow root [README.md setup](../../README.md#setup) * Create a postgres12 database for the watcher: diff --git a/packages/v2-watcher/environments/local.toml b/packages/v2-watcher/environments/local.toml index c91253a..f3a8a1d 100644 --- a/packages/v2-watcher/environments/local.toml +++ b/packages/v2-watcher/environments/local.toml @@ -10,8 +10,8 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently - enableState = true + # CAUTION: Enable if state creation is required + enableState = false subgraphPath = "./subgraph-build" diff --git a/packages/v3-watcher/README.md b/packages/v3-watcher/README.md index 368aed1..bb4742b 100644 --- a/packages/v3-watcher/README.md +++ b/packages/v3-watcher/README.md @@ -7,11 +7,7 @@ ## Setup -* Run the following command to install required packages: - - ```bash - yarn - ``` +* Follow root [README.md setup](../../README.md#setup) * Create a postgres12 database for the watcher: diff --git a/packages/v3-watcher/environments/local.toml b/packages/v3-watcher/environments/local.toml index 98254ca..017570a 100644 --- a/packages/v3-watcher/environments/local.toml +++ b/packages/v3-watcher/environments/local.toml @@ -10,8 +10,8 @@ checkpointInterval = 2000 # Enable state creation - # CAUTION: Disable only if state creation is not desired or can be filled subsequently - enableState = true + # CAUTION: Enable if state creation is required + enableState = false subgraphPath = "./subgraph-build"