diff --git a/docker/Makefile b/docker/Makefile index 0229f32993ae..d7dc80c6f348 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -55,7 +55,7 @@ check-tools: check-nodejs check-yarn check-rust check-sqlx-cli check-docker chec # Check that contracts are checkout properly check-contracts: - @if [ ! -d ../contracts/l1-contracts/lib/forge-std/foundry.toml ] || [ -z "$$(ls -A ../contracts/l1-contracts/lib/forge-std/foundry.toml)" ]; then \ + @if [ -z "$$(ls -A ../contracts/l1-contracts/lib/forge-std/foundry.toml)" ]; then \ echo "l1-contracts git submodule is missing. Please re-download repo with 'git clone --recurse-submodules https://github.com/matter-labs/zksync-era.git'"; \ exit 1; \ fi diff --git a/docs/guides/external-node/00_quick_start.md b/docs/guides/external-node/00_quick_start.md index 67a1b89eef51..b24571d342fc 100644 --- a/docs/guides/external-node/00_quick_start.md +++ b/docs/guides/external-node/00_quick_start.md @@ -6,6 +6,8 @@ Install `docker compose` and `Docker` ## Running ZKsync node locally +These commands start ZKsync node locally inside docker. + To start a mainnet instance, run: ```sh @@ -34,9 +36,10 @@ cd docker-compose-examples sudo docker compose --file testnet-external-node-docker-compose.yml down --volumes ``` -You can see the status of the node (after recovery) in [local grafana dashboard](http://localhost:3000/dashboards). +### Observability -Those commands start ZKsync node locally inside docker. +You can see the status of the node (after recovery) in [local grafana dashboard](http://localhost:3000/dashboards). +You can also access a debug page with more information about the node [here](http://localhost:5000). The HTTP JSON-RPC API can be accessed on port `3060` and WebSocket API can be accessed on port `3061`.