Add a SushiSwap stack #482
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user