From eadefc01c0aed163a5f39a09263618e36ab688a4 Mon Sep 17 00:00:00 2001 From: Vasyl Ivanchuk Date: Tue, 6 Feb 2024 08:03:07 +0200 Subject: [PATCH] fix: remove portal from header (#159) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # What ❔ - Remove Portal link from the top menu - Do not show an error reason for the failed transaction if it's empty - Docker compose starts services in production and not in development mode - Add zkVM filter option for solc compilers on the verification page ## Why ❔ To fix bug reports / implement feature requests. ## Checklist - [X] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [X] Tests for the changes have been added / updated. --------- Co-authored-by: Oleh Bairak <118197764+olehbairak@users.noreply.github.com> --- .dockerignore | 2 +- docker-compose-cli.yaml | 15 --------------- docker-compose.yaml | 30 ------------------------------ 3 files changed, 1 insertion(+), 46 deletions(-) diff --git a/.dockerignore b/.dockerignore index 3b54c5b8c4..f05f8a34ae 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,2 @@ **/dist/ -**.env +**.env \ No newline at end of file diff --git a/docker-compose-cli.yaml b/docker-compose-cli.yaml index 83212972aa..a8f29e8478 100644 --- a/docker-compose-cli.yaml +++ b/docker-compose-cli.yaml @@ -1,6 +1,3 @@ -version: "3.2" -name: "zkcli-block-explorer" - services: app: platform: linux/amd64 @@ -43,18 +40,6 @@ services: extra_hosts: - "host.docker.internal:host-gateway" - data-fetcher: - platform: linux/amd64 - image: "matterlabs/block-explorer-data-fetcher:${VERSION}" - environment: - - PORT=3040 - - LOG_LEVEL=verbose - - NODE_ENV=development - - BLOCKCHAIN_RPC_URL=http://host.docker.internal:${RPC_PORT} - ports: - - '3040:3040' - restart: unless-stopped - api: platform: linux/amd64 image: "matterlabs/block-explorer-api:${VERSION}" diff --git a/docker-compose.yaml b/docker-compose.yaml index 1c44fb9e29..59eeb73f9a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,5 +1,3 @@ -version: '3.8' - services: app: build: @@ -47,29 +45,6 @@ services: condition: service_healthy restart: unless-stopped - data-fetcher: - build: - context: . - dockerfile: ./packages/data-fetcher/Dockerfile - target: development-stage - command: npm run --prefix packages/data-fetcher dev:debug - environment: - - PORT=3040 - - LOG_LEVEL=verbose - - NODE_ENV=development - - BLOCKCHAIN_RPC_URL=http://zksync:3050 - ports: - - '3040:3040' - - '9231:9229' - - '9232:9230' - volumes: - - ./packages/data-fetcher:/usr/src/app/packages/data-fetcher - - /usr/src/app/packages/data-fetcher/node_modules - depends_on: - zksync: - condition: service_healthy - restart: unless-stopped - api: build: context: . @@ -82,11 +57,6 @@ services: ports: - '3020:3020' - '3005:3005' - - '9233:9229' - - '9234:9230' - volumes: - - ./packages/api:/usr/src/app/packages/api - - /usr/src/app/packages/api/node_modules depends_on: - worker restart: unless-stopped