From 28d553a3f16af230e354921b4527f1a4bce8cc97 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, 28 Jul 2026 10:52:24 -0300 Subject: [PATCH 1/2] build: bump Rust toolchain to 1.97.1 The pin had drifted five releases behind upstream stable. Moving to 1.97.1 (released 2026-07-14) picks up compiler and clippy fixes and keeps the MSRV aligned with the toolchain we actually build with. Updates every real pin: the toolchain channel, the workspace MSRV, the Docker builder base image, and the three CI toolchain declarations. flake.nix and preview-config.nix derive their toolchain from rust-toolchain.toml, so they follow automatically; the mdbook workflow stays on `stable` since it only needs cargo to install mdbook-linkcheck2. The `rustc-v1.92.0` in the node-identity test and the `rustc-v1.85.0` in docs/rpc.md are illustrative sentinels, not pins, and are left alone. --- .github/actions/run-fixture-tests/action.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/daily_loc_report.yml | 2 +- CLAUDE.md | 2 +- Cargo.toml | 2 +- Dockerfile | 2 +- rust-toolchain.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/run-fixture-tests/action.yml b/.github/actions/run-fixture-tests/action.yml index 61de7e6e..5d8c8117 100644 --- a/.github/actions/run-fixture-tests/action.yml +++ b/.github/actions/run-fixture-tests/action.yml @@ -104,7 +104,7 @@ runs: - name: Setup Rust uses: dtolnay/rust-toolchain@master with: - toolchain: "1.92.0" + toolchain: "1.97.1" - name: Setup cache uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ad3a688..953b9910 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - name: Setup Rust uses: dtolnay/rust-toolchain@master with: - toolchain: "1.92.0" + toolchain: "1.97.1" components: rustfmt, clippy - name: Setup cache diff --git a/.github/workflows/daily_loc_report.yml b/.github/workflows/daily_loc_report.yml index 0df914d2..c7ddf52c 100644 --- a/.github/workflows/daily_loc_report.yml +++ b/.github/workflows/daily_loc_report.yml @@ -39,7 +39,7 @@ jobs: - name: Setup Rust uses: dtolnay/rust-toolchain@master with: - toolchain: "1.92.0" + toolchain: "1.97.1" - name: Setup cache uses: Swatinem/rust-cache@v2 diff --git a/CLAUDE.md b/CLAUDE.md index 74bb4f17..2a1c99a9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,7 @@ Not to be confused with Ethereum consensus clients AKA Beacon Chain clients AKA ## Quick Reference **Main branch:** `main` -**Rust version:** 1.92.0 (edition 2024) +**Rust version:** 1.97.1 (edition 2024) **Test fixtures release:** Download latest production fixtures from leanSpec releases ## Codebase Structure (12 workspace crates) diff --git a/Cargo.toml b/Cargo.toml index 100b1a4a..9856e46d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ keywords = ["ethereum", "blockchain", "consensus", "protocol"] license = "LICENSE" readme = "README.md" repository = "https://github.com/lambdaclass/ethlambda" -rust-version = "1.92.0" +rust-version = "1.97.1" version = "0.1.0" [workspace.dependencies] diff --git a/Dockerfile b/Dockerfile index 976d8314..7a012081 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker.io/docker/dockerfile:1.7-labs -FROM rust:1.92-bookworm AS chef +FROM rust:1.97-bookworm AS chef WORKDIR /app # Install cargo-chef and system dependencies diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 1a216558..8565ca6b 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.92.0" +channel = "1.97.1" components = ["rustfmt", "clippy"] From f5016c048fcaa3ba918140abee8bdc27011d008a 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, 28 Jul 2026 11:04:40 -0300 Subject: [PATCH 2/2] docs(rpc): refresh rustc version in node identity example The node-identity sample response still showed rustc-v1.85.0, two toolchain bumps stale. It is illustrative rather than a pin, but a version string that never tracks reality is worse than no version string, so keep it current with the toolchain. --- docs/rpc.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rpc.md b/docs/rpc.md index 355d8015..fb2802a9 100644 --- a/docs/rpc.md +++ b/docs/rpc.md @@ -166,7 +166,7 @@ The fork-choice tree from the finalized root, with LMD-GHOST weights computed ov ```json { - "version": "ethlambda/v0.1.0-main-892ad575/x86_64-unknown-linux-gnu/rustc-v1.85.0", + "version": "ethlambda/v0.1.0-main-892ad575/x86_64-unknown-linux-gnu/rustc-v1.97.1", "peer_id": "16Uiu2HAm7v1x…" } ```