From 50fe116e652931673d7f3a2186b168d967c642a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Mon, 2 Feb 2026 18:38:37 -0300 Subject: [PATCH 1/4] feat: log client version on startup --- bin/ethlambda/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/ethlambda/src/main.rs b/bin/ethlambda/src/main.rs index c4fa991..aa438dc 100644 --- a/bin/ethlambda/src/main.rs +++ b/bin/ethlambda/src/main.rs @@ -68,6 +68,8 @@ async fn main() { println!("{ASCII_ART}"); + info!(version = version::CLIENT_VERSION, "Starting ethlambda"); + info!(node_key=?options.node_key, "got node key"); let genesis_path = options.custom_network_config_dir.join("genesis.json"); From 215ccc7d399a2fba8da7d1b80fcb15e384fb90de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Tue, 3 Feb 2026 16:10:41 -0300 Subject: [PATCH 2/4] chore: support custom tags in docker-build target --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1dbd445..e28ce6d 100644 --- a/Makefile +++ b/Makefile @@ -13,12 +13,13 @@ test: leanSpec/fixtures ## 🧪 Run all tests, then forkchoice tests with skip-s GIT_COMMIT=$(shell git rev-parse HEAD) GIT_BRANCH=$(shell git rev-parse --abbrev-ref HEAD) +DOCKER_TAG?=local docker-build: ## 🐳 Build the Docker image docker build \ --build-arg GIT_COMMIT=$(GIT_COMMIT) \ --build-arg GIT_BRANCH=$(GIT_BRANCH) \ - -t ghcr.io/lambdaclass/ethlambda:local . + -t ghcr.io/lambdaclass/ethlambda:$(DOCKER_TAG) . LEAN_SPEC_COMMIT_HASH:=4edcf7bc9271e6a70ded8aff17710d68beac4266 From b248889cf1b923c8db48c3642cfadbab68c18f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Tue, 3 Feb 2026 19:02:36 -0300 Subject: [PATCH 3/4] fix: copy .git folder to docker builder --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7cc43ec..d2344af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,8 @@ ENV FEATURES=$FEATURES RUN cargo chef cook --profile $BUILD_PROFILE --features "$FEATURES" --recipe-path recipe.json # Build application -COPY --exclude=.git --exclude=target . . +# Include .git so vergen-git2 can extract version info (branch, commit SHA) +COPY --exclude=target . . RUN cargo build --profile $BUILD_PROFILE --features "$FEATURES" --locked --bin ethlambda # ARG is not resolved in COPY so we have to hack around it by copying the From 29563a7e8d49a5a15c6828ad0fb1ca1b33b191e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gr=C3=BCner?= <47506558+MegaRedHand@users.noreply.github.com> Date: Tue, 3 Feb 2026 19:24:42 -0300 Subject: [PATCH 4/4] fix: allow .git in .dockerignore --- .dockerignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.dockerignore b/.dockerignore index d2666de..76e3aa1 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,3 +7,4 @@ !bin/ !crates/ !LICENSE +!.git/