From 93663d4336cc84abbfb188f9d4866e704c4f03fe Mon Sep 17 00:00:00 2001 From: FabijanC Date: Wed, 7 Sep 2022 22:44:27 +0200 Subject: [PATCH] Fix Dockerfile and readme --- Dockerfile | 4 ++-- README.md | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index abed781a4..be88af0ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.7.12-alpine3.15 as builder +FROM python:3.9.13-alpine3.16 as builder COPY . . @@ -13,7 +13,7 @@ RUN poetry export -f requirements.txt --without-hashes > requirements.txt RUN pip3 wheel --no-cache-dir --no-deps --wheel-dir /wheels -r requirements.txt -FROM python:3.7.12-alpine3.15 +FROM python:3.9.13-alpine3.16 RUN apk add --no-cache libgmpxx diff --git a/README.md b/README.md index 7bdc068b6..ce03463c9 100644 --- a/README.md +++ b/README.md @@ -386,11 +386,7 @@ Response: ## Lite mode -To improve Devnet performance, instead of calculating the actual hash of deployment transactions and blocks, sequential numbering can be used (0x0, 0x1, 0x2, ...). - -Consider passing this CLI flag on Devnet startup: - -- `--lite-mode` enables optimizations +Since Devnet 0.3.0, the effect of lite mode is minimal and currently only skips block hash calculation (replacing it with iterative numbering: `0x0`, `0x1`, `0x2`, ...). Activate it by passing `--lite-mode` on startup. ## Restart