Add a SushiSwap stack #482

Merged
prathamesh0 merged 9 commits from pm-sushiswap-stack into main 2023-08-10 08:27:07 +00:00
3 changed files with 5 additions and 9 deletions
Showing only changes of commit d5c5963063 - Show all commits

View File

@ -52,6 +52,8 @@ services:
depends_on:
sushiswap-watcher-db:
condition: service_healthy
lotus-node-1:
condition: service_healthy
image: cerc/watcher-sushiswap:local
working_dir: /app/packages/uni-watcher
environment:
@ -107,6 +109,8 @@ services:
condition: service_healthy
erc20-watcher-server:
condition: service_healthy
lotus-node-1:
condition: service_healthy
sushi-watcher-server:
condition: service_healthy
image: cerc/watcher-sushiswap:local

View File

@ -18,10 +18,8 @@ laconic-so --stack sushiswap build-containers
Deploy the stack:
<!-- TODO: Add healthcheck dependency on Lotus endpoint in sushiswap watchers -->
```bash
laconic-so --stack sushiswap deploy --include fixturenet-lotus --cluster sushiswap up
laconic-so --stack sushiswap deploy --include watcher-sushiswap --cluster sushiswap up
laconic-so --stack sushiswap deploy --cluster sushiswap up
```
## Tests

View File

@ -55,12 +55,6 @@ docker exec -it sushiswap-sushi-watcher-server-1 bash -c "export TOKEN0_ADDRESS=
Deploy required contracts and set the addresses to variables:
```bash
# Deploy TestUniswapV3Callee
docker exec -it sushiswap-sushiswap-v3-core-1 pnpm hardhat --network docker deploy --tags TestUniswapV3Callee
# Set the returned address to a variable
export UNISWAP_CALLEE_ADDRESS=<UNISWAP_CALLEE_ADDRESS>
# Deploy two test tokens
docker exec -it sushiswap-sushiswap-v3-periphery-1 yarn hardhat --network docker deploy --tags TestERC20
docker exec -it sushiswap-sushiswap-v3-periphery-1 yarn hardhat --network docker deploy --tags TestERC20