Skip to content

Commit

Permalink
Turn off block prefetching
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh0 committed Aug 9, 2023
1 parent 76ab3e4 commit 3004f4d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
eventsInBatch = 50
subgraphEventsOrder = true
blockDelayInMilliSecs = 2000
prefetchBlocksInMem = true
prefetchBlocksInMem = false
prefetchBlockCount = 10
2 changes: 1 addition & 1 deletion app/data/config/watcher-sushiswap/sushi-info-watcher.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@
eventsInBatch = 50
subgraphEventsOrder = true
blockDelayInMilliSecs = 2000
prefetchBlocksInMem = true
prefetchBlocksInMem = false
prefetchBlockCount = 10
2 changes: 1 addition & 1 deletion app/data/config/watcher-sushiswap/sushi-watcher.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
eventsInBatch = 50
lazyUpdateBlockProgress = true
blockDelayInMilliSecs = 2000
prefetchBlocksInMem = true
prefetchBlocksInMem = false
prefetchBlockCount = 10
3 changes: 1 addition & 2 deletions app/data/container-build/cerc-watcher-sushiswap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ WORKDIR /app
COPY . .

RUN echo "Building uniswap-watcher-ts" && \
git checkout sushiswap && \
yarn && yarn build && yarn build:contracts
yarn && yarn build && yarn build:contracts
4 changes: 1 addition & 3 deletions app/data/stacks/sushiswap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
Clone required repositories:

```bash
laconic-so --stack sushiswap setup-repositories

# If this throws an error as a result of being already checked out to a branch/tag in a repo, remove the conflicting repositories and re-run the command
laconic-so --stack sushiswap setup-repositories --git-ssh
```

Build the container images:
Expand Down
6 changes: 3 additions & 3 deletions app/data/stacks/sushiswap/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ repos:
## fixturenet-lotus repo
- github.com/filecoin-project/lotus
## sushiswap repos
- github.com/cerc-io/sushiswap-v3-core
- github.com/cerc-io/sushiswap-v3-periphery
- github.com/vulcanize/uniswap-watcher-ts
- github.com/cerc-io/sushiswap-v3-core@watcher-ts
- github.com/cerc-io/sushiswap-v3-periphery@watcher-ts
- github.com/vulcanize/uniswap-watcher-ts@sushiswap
- github.com/vulcanize/uniswap-v3-info
containers:
## fixturenet-lotus image
Expand Down

0 comments on commit 3004f4d

Please sign in to comment.