Skip to content

Commit

Permalink
Merge branch 'main' into zk-protocol-defense
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed Oct 10, 2024
2 parents 8fac87c + 0f45d24 commit 4e9d99d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions docs/guides/external-node/00_quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`.

Expand Down

0 comments on commit 4e9d99d

Please sign in to comment.