From 705ca9ec86f2dd58c011f7d8b2aba9a474a5ab2c Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 15 Oct 2025 17:11:45 +0200 Subject: [PATCH 01/10] CI/lint: formatting with new lines --- .github/workflows/lint.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 2a136d736..7981f52ec 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -21,18 +21,22 @@ jobs: - name: Setup build dependencies uses: ./.github/actions/setup-build-deps + - name: Use shared OCaml setting up steps uses: ./.github/actions/setup-ocaml with: ocaml_version: ${{ env.OCAML_VERSION }} + - name: Setup Rust uses: ./.github/actions/setup-rust with: toolchain: ${{ env.RUST_STABLE_VERSION }} components: clippy, rustfmt cache-prefix: lint-${{ env.RUST_STABLE_VERSION }}-v0 + - name: Run make check run: make check + - name: Run make lint run: make lint @@ -51,16 +55,19 @@ jobs: - name: Setup build dependencies uses: ./.github/actions/setup-build-deps + - name: Use shared OCaml setting up steps uses: ./.github/actions/setup-ocaml with: ocaml_version: ${{ env.OCAML_VERSION }} + - name: Setup Rust uses: ./.github/actions/setup-rust with: toolchain: ${{ env.RUST_NIGHTLY_VERSION }} components: clippy, rustfmt cache-prefix: lint-tx-fuzzing-${{ env.RUST_NIGHTLY_VERSION }}-v0 + - name: Run transaction Fuzzing check run: make check-tx-fuzzing @@ -73,10 +80,12 @@ jobs: os: [ubuntu-24.04] steps: - uses: actions/checkout@v5 + - name: Install shellcheck run: | sudo apt update || true sudo apt install -y shellcheck || true + - name: Run shellcheck run: make lint-bash @@ -89,10 +98,12 @@ jobs: os: [ubuntu-24.04] steps: - uses: actions/checkout@v5 + - name: Install hadolint run: | wget -O /tmp/hadolint https://github.com/hadolint/hadolint/releases/latest/download/hadolint-Linux-x86_64 chmod +x /tmp/hadolint sudo mv /tmp/hadolint /usr/local/bin/hadolint + - name: Run hadolint run: make lint-dockerfiles From 9eac06f381da3f998c9d62fa77ef70355eec1371 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 15 Oct 2025 17:12:11 +0200 Subject: [PATCH 02/10] CI/workflow: build-reusable - setup SQLite for SQLx --- .github/workflows/build-reusable.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-reusable.yaml b/.github/workflows/build-reusable.yaml index 0def56b52..da4bccd72 100644 --- a/.github/workflows/build-reusable.yaml +++ b/.github/workflows/build-reusable.yaml @@ -150,6 +150,8 @@ jobs: - name: Setup build dependencies uses: ./.github/actions/setup-build-deps + with: + include-sqlite: true - name: Use shared OCaml setting up steps uses: ./.github/actions/setup-ocaml @@ -162,8 +164,14 @@ jobs: toolchain: ${{ env.RUST_STABLE_VERSION }} cache-prefix: build-${{ inputs.os }}-${{ inputs.cache-prefix }}v0 + - name: Setup SQLite database for SQLx + run: | + sqlite3 /tmp/heartbeats.db < tools/heartbeats-processor/schema.sql + - name: Build benchmarks run: make build-benches + env: + DATABASE_URL: "sqlite:///tmp/heartbeats.db" build-wasm: if: ${{ inputs.build-wasm }} From b9a56336bdbf9ea084afdf6bc166810a82c879d4 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 15 Oct 2025 17:12:34 +0200 Subject: [PATCH 03/10] CI/tests: run build-benches on ubuntu-22.04 --- .github/workflows/tests.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 38809ed22..da3d33f18 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -409,6 +409,41 @@ jobs: - name: Build WebAssembly node run: make build-wasm + build-benches: + needs: [build] + timeout-minutes: 60 + runs-on: ubuntu-22.04 + env: + RUSTFLAGS: "-C overflow-checks=off -C debug-assertions=off ${{ inputs.rustflags }}" + steps: + - name: Git checkout + uses: actions/checkout@v5 + + - name: Setup build dependencies + uses: ./.github/actions/setup-build-deps + with: + include-sqlite: true + + - name: Use shared OCaml setting up steps + uses: ./.github/actions/setup-ocaml + with: + ocaml_version: ${{ env.OCAML_VERSION }} + + - name: Setup Rust + uses: ./.github/actions/setup-rust + with: + toolchain: 1.84 + cache-prefix: build-${{ inputs.os }}-${{ inputs.cache-prefix }}v0 + + - name: Setup SQLite database for SQLx + run: | + sqlite3 /tmp/heartbeats.db < tools/heartbeats-processor/schema.sql + + - name: Build benchmarks + run: make build-benches + env: + DATABASE_URL: "sqlite:///tmp/heartbeats.db" + p2p-scenario-tests: needs: [build-tests, build-tests-webrtc] runs-on: ubuntu-24.04 From ba967febeb616e0fbc2667b4ebe2b12f07c58853 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 15 Oct 2025 17:15:11 +0200 Subject: [PATCH 04/10] CHANGELOG: add description for patch 1548 --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fd59a1f5..733bca60d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -140,7 +140,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 reusing build caches for efficiency ([#1539](https://github.com/o1-labs/mina-rust/pull/1539)) - **Ledger**: document, clean and add tests for the crate `mina-tree` - ([#1531](https://github.com/o1-labs/mina-rust/pull/1531)). + ([#1531](https://github.com/o1-labs/mina-rust/pull/1531). - **GraphQL**: fixed parsing when neither signature nor proof is given. See issue [#1464](https://github.com/o1-labs/mina-rust/issues/1464). Fixed in [#1546](https://github.com/o1-labs/mina-rust/pull/1546/) @@ -151,6 +151,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ([#1577](https://github.com/o1-labs/mina-rust/pull/1577)) - **tools**: remove producer-dashboard ([#1578](https://github.com/o1-labs/mina-rust/pull/1578)) +- **CI**: build benches for each PR with the workflow `tests`, and fix the step + in the workflow `build` by adding the missing SQLx/SQLite setup + ([#1548](https://github.com/o1-labs/mina-rust/pull/1548)) ### Fixed From e77b217d80232c17c71816a5e34b0278a8293d45 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 5 Nov 2025 00:36:15 +0800 Subject: [PATCH 05/10] CI: remove SQLite setup as not required anymore --- .github/workflows/build-reusable.yaml | 8 -------- .github/workflows/tests.yaml | 8 -------- 2 files changed, 16 deletions(-) diff --git a/.github/workflows/build-reusable.yaml b/.github/workflows/build-reusable.yaml index da4bccd72..0def56b52 100644 --- a/.github/workflows/build-reusable.yaml +++ b/.github/workflows/build-reusable.yaml @@ -150,8 +150,6 @@ jobs: - name: Setup build dependencies uses: ./.github/actions/setup-build-deps - with: - include-sqlite: true - name: Use shared OCaml setting up steps uses: ./.github/actions/setup-ocaml @@ -164,14 +162,8 @@ jobs: toolchain: ${{ env.RUST_STABLE_VERSION }} cache-prefix: build-${{ inputs.os }}-${{ inputs.cache-prefix }}v0 - - name: Setup SQLite database for SQLx - run: | - sqlite3 /tmp/heartbeats.db < tools/heartbeats-processor/schema.sql - - name: Build benchmarks run: make build-benches - env: - DATABASE_URL: "sqlite:///tmp/heartbeats.db" build-wasm: if: ${{ inputs.build-wasm }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index da3d33f18..421327947 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -421,8 +421,6 @@ jobs: - name: Setup build dependencies uses: ./.github/actions/setup-build-deps - with: - include-sqlite: true - name: Use shared OCaml setting up steps uses: ./.github/actions/setup-ocaml @@ -435,14 +433,8 @@ jobs: toolchain: 1.84 cache-prefix: build-${{ inputs.os }}-${{ inputs.cache-prefix }}v0 - - name: Setup SQLite database for SQLx - run: | - sqlite3 /tmp/heartbeats.db < tools/heartbeats-processor/schema.sql - - name: Build benchmarks run: make build-benches - env: - DATABASE_URL: "sqlite:///tmp/heartbeats.db" p2p-scenario-tests: needs: [build-tests, build-tests-webrtc] From 2af1703a9b31f70871b3011981c101b757cc883b Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 5 Nov 2025 01:20:44 +0800 Subject: [PATCH 06/10] CI: Add libpcap dependency for build-benches Add libpcap-dev (Ubuntu) and libpcap (macOS) to build dependencies to fix linking errors when building benchmarks. The webrtc-sniffer tool requires the pcap library for packet capture functionality. --- .github/actions/setup-build-deps/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-build-deps/action.yml b/.github/actions/setup-build-deps/action.yml index bb8b15e2c..17128baa4 100644 --- a/.github/actions/setup-build-deps/action.yml +++ b/.github/actions/setup-build-deps/action.yml @@ -13,13 +13,13 @@ runs: shell: bash run: | sudo apt update || true - sudo apt install -y protobuf-compiler || true + sudo apt install -y protobuf-compiler libpcap-dev || true - name: Setup build dependencies (macOS) if: runner.os == 'macOS' shell: bash run: | - brew install protobuf ocaml opam + brew install protobuf ocaml opam libpcap - name: Install cargo-nextest if: inputs.install-nextest == 'true' From 0bed2941d3362f5b45bd414b7492003bb84592b3 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 5 Nov 2025 18:18:22 +0800 Subject: [PATCH 07/10] CI/tests: load versions and use env var --- .github/workflows/tests.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 421327947..6149a8dd3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -419,6 +419,9 @@ jobs: - name: Git checkout uses: actions/checkout@v5 + - name: Load versions + uses: ./.github/actions/load-versions + - name: Setup build dependencies uses: ./.github/actions/setup-build-deps @@ -430,7 +433,7 @@ jobs: - name: Setup Rust uses: ./.github/actions/setup-rust with: - toolchain: 1.84 + toolchain: ${{ env.RUST_STABLE_VERSION }} cache-prefix: build-${{ inputs.os }}-${{ inputs.cache-prefix }}v0 - name: Build benchmarks From 1b327a5d764c80fa8e7ba685c10b3884f822e2c0 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 5 Nov 2025 18:51:03 +0800 Subject: [PATCH 08/10] Merge pull request #1548 from o1-labs/dw/fix-build-benches CI: fix build-benches + add it in the workflow `tests` From 625249c8a6d38928fc3f1bac6eae715dcd859a8f Mon Sep 17 00:00:00 2001 From: Jolte Date: Wed, 5 Nov 2025 16:40:38 +0200 Subject: [PATCH 09/10] Add new version and rearrange steps for the release documentation --- cli/Cargo.toml | 2 +- cli/replay_dynamic_effects/Cargo.toml | 2 +- core/Cargo.toml | 2 +- fuzzer/Cargo.toml | 2 +- ledger/Cargo.toml | 2 +- macros/Cargo.toml | 2 +- mina-p2p-messages/Cargo.toml | 2 +- node/Cargo.toml | 2 +- node/account/Cargo.toml | 2 +- node/common/Cargo.toml | 2 +- node/invariants/Cargo.toml | 2 +- node/native/Cargo.toml | 2 +- node/testing/Cargo.toml | 2 +- node/web/Cargo.toml | 2 +- p2p/Cargo.toml | 2 +- p2p/libp2p-rpc-behaviour/Cargo.toml | 2 +- p2p/testing/Cargo.toml | 2 +- poseidon/Cargo.toml | 2 +- snark/Cargo.toml | 2 +- tools/archive-breadcrumb-compare/Cargo.toml | 2 +- tools/bootstrap-sandbox/Cargo.toml | 2 +- tools/fuzzing/Cargo.toml | 2 +- tools/gossipsub-sandbox/Cargo.toml | 2 +- tools/hash-tool/Cargo.toml | 2 +- tools/ledger-tool/Cargo.toml | 2 +- tools/transport/Cargo.toml | 2 +- tools/webrtc-sniffer/Cargo.toml | 2 +- vendor/salsa-simple/Cargo.toml | 2 +- vrf/Cargo.toml | 2 +- website/docs/appendix/release-process.mdx | 66 +++++++++---------- website/docs/node-operators/archive-node.md | 6 +- website/docs/node-operators/block-producer.md | 6 +- website/docs/node-operators/docker-usage.md | 4 +- .../docs/node-operators/node-management.md | 2 +- 34 files changed, 71 insertions(+), 71 deletions(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index b8e82fe36..d776c6886 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cli" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/cli/replay_dynamic_effects/Cargo.toml b/cli/replay_dynamic_effects/Cargo.toml index 2c6103862..e57fadbcf 100644 --- a/cli/replay_dynamic_effects/Cargo.toml +++ b/cli/replay_dynamic_effects/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "replay_dynamic_effects" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/core/Cargo.toml b/core/Cargo.toml index 0dd35ab4d..0e7b2c7f4 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-core" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/fuzzer/Cargo.toml b/fuzzer/Cargo.toml index 297372419..802ed09df 100644 --- a/fuzzer/Cargo.toml +++ b/fuzzer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-fuzzer" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/ledger/Cargo.toml b/ledger/Cargo.toml index bb7c3447d..bad1823a5 100644 --- a/ledger/Cargo.toml +++ b/ledger/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-tree" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 8d22ce9a6..2c8462a1a 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-macros" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" authors = ["Alexander Koptelov "] diff --git a/mina-p2p-messages/Cargo.toml b/mina-p2p-messages/Cargo.toml index 4176f1c73..6e4406c9a 100644 --- a/mina-p2p-messages/Cargo.toml +++ b/mina-p2p-messages/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-p2p-messages" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/node/Cargo.toml b/node/Cargo.toml index 81ad196c0..b1dfabe00 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/node/account/Cargo.toml b/node/account/Cargo.toml index aa88737c8..ae1dbc475 100644 --- a/node/account/Cargo.toml +++ b/node/account/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-account" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" description = "Account management for Mina nodes, including key generation, encryption, and address handling" diff --git a/node/common/Cargo.toml b/node/common/Cargo.toml index b37d17d0a..5014db9dd 100644 --- a/node/common/Cargo.toml +++ b/node/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-common" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/node/invariants/Cargo.toml b/node/invariants/Cargo.toml index 4f8063b42..d156b95e2 100644 --- a/node/invariants/Cargo.toml +++ b/node/invariants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-invariants" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/node/native/Cargo.toml b/node/native/Cargo.toml index 0c993fd6a..66720c804 100644 --- a/node/native/Cargo.toml +++ b/node/native/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-native" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/node/testing/Cargo.toml b/node/testing/Cargo.toml index 1cedbdfe6..7c4fb9559 100644 --- a/node/testing/Cargo.toml +++ b/node/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-testing" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/node/web/Cargo.toml b/node/web/Cargo.toml index 5972d73e7..a4c2865c1 100644 --- a/node/web/Cargo.toml +++ b/node/web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-web" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml index 901b45068..157bd6087 100644 --- a/p2p/Cargo.toml +++ b/p2p/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "p2p" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/p2p/libp2p-rpc-behaviour/Cargo.toml b/p2p/libp2p-rpc-behaviour/Cargo.toml index 643035ef6..0fda7d56f 100644 --- a/p2p/libp2p-rpc-behaviour/Cargo.toml +++ b/p2p/libp2p-rpc-behaviour/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libp2p-rpc-behaviour" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/p2p/testing/Cargo.toml b/p2p/testing/Cargo.toml index 4954d4db9..a7eb6731b 100644 --- a/p2p/testing/Cargo.toml +++ b/p2p/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "p2p-testing" -version = "0.17.0" +version = "0.18.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/poseidon/Cargo.toml b/poseidon/Cargo.toml index a0b99ea04..a1a7905d7 100644 --- a/poseidon/Cargo.toml +++ b/poseidon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poseidon" -version = "0.17.0" +version = "0.18.0" edition = "2021" [lints] diff --git a/snark/Cargo.toml b/snark/Cargo.toml index 8dfc14104..f582936c3 100644 --- a/snark/Cargo.toml +++ b/snark/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "snark" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/tools/archive-breadcrumb-compare/Cargo.toml b/tools/archive-breadcrumb-compare/Cargo.toml index dc0023d4f..23ee90cab 100644 --- a/tools/archive-breadcrumb-compare/Cargo.toml +++ b/tools/archive-breadcrumb-compare/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-archive-breadcrumb-compare" -version = "0.17.0" +version = "0.18.0" edition = "2021" [dependencies] diff --git a/tools/bootstrap-sandbox/Cargo.toml b/tools/bootstrap-sandbox/Cargo.toml index 3b1d48409..ed84ab4a9 100644 --- a/tools/bootstrap-sandbox/Cargo.toml +++ b/tools/bootstrap-sandbox/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-bootstrap-sandbox" -version = "0.17.0" +version = "0.18.0" edition = "2021" [dependencies] diff --git a/tools/fuzzing/Cargo.toml b/tools/fuzzing/Cargo.toml index 9303208ec..210b17cea 100644 --- a/tools/fuzzing/Cargo.toml +++ b/tools/fuzzing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "transaction_fuzzer" -version = "0.17.0" +version = "0.18.0" edition = "2021" [dependencies] diff --git a/tools/gossipsub-sandbox/Cargo.toml b/tools/gossipsub-sandbox/Cargo.toml index c5b5ad493..bf0a41a84 100644 --- a/tools/gossipsub-sandbox/Cargo.toml +++ b/tools/gossipsub-sandbox/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-gossipsub-sandbox" -version = "0.17.0" +version = "0.18.0" edition = "2021" [dependencies] diff --git a/tools/hash-tool/Cargo.toml b/tools/hash-tool/Cargo.toml index fa66126ec..948f3da92 100644 --- a/tools/hash-tool/Cargo.toml +++ b/tools/hash-tool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hash-tool" -version = "0.17.0" +version = "0.18.0" edition = "2021" [dependencies] diff --git a/tools/ledger-tool/Cargo.toml b/tools/ledger-tool/Cargo.toml index c271f4d7f..31d580937 100644 --- a/tools/ledger-tool/Cargo.toml +++ b/tools/ledger-tool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ledger-tool" -version = "0.17.0" +version = "0.18.0" edition = "2021" [dependencies] diff --git a/tools/transport/Cargo.toml b/tools/transport/Cargo.toml index 2ac464e4b..86fd8ce99 100644 --- a/tools/transport/Cargo.toml +++ b/tools/transport/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-transport" -version = "0.17.0" +version = "0.18.0" edition = "2021" [dependencies] diff --git a/tools/webrtc-sniffer/Cargo.toml b/tools/webrtc-sniffer/Cargo.toml index e52ad39bb..572c04bf1 100644 --- a/tools/webrtc-sniffer/Cargo.toml +++ b/tools/webrtc-sniffer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "webrtc-sniffer" -version = "0.17.0" +version = "0.18.0" edition = "2021" [dependencies] diff --git a/vendor/salsa-simple/Cargo.toml b/vendor/salsa-simple/Cargo.toml index e5b4323df..1459ac5e6 100644 --- a/vendor/salsa-simple/Cargo.toml +++ b/vendor/salsa-simple/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "salsa-simple" -version = "0.17.0" +version = "0.18.0" edition = "2021" [dev-dependencies] diff --git a/vrf/Cargo.toml b/vrf/Cargo.toml index cfb71cc7e..665b766c8 100644 --- a/vrf/Cargo.toml +++ b/vrf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vrf" -version = "0.17.0" +version = "0.18.0" edition = "2021" license = "Apache-2.0" diff --git a/website/docs/appendix/release-process.mdx b/website/docs/appendix/release-process.mdx index 0576dd77b..718c5aec8 100644 --- a/website/docs/appendix/release-process.mdx +++ b/website/docs/appendix/release-process.mdx @@ -142,7 +142,39 @@ _Updates will be posted in this thread_ ## Release Steps -### 1. Create Release Branch (for major/minor releases) +### 1. Update Version Numbers + +```bash +# Update all Cargo.toml version fields +make release-update-version VERSION=1.5.0 +``` + + + +
+Script contents (click to expand) + + + {UpdateVersionScript} + + +
+ + +This automatically updates version references in: + +- All `Cargo.toml` files in the workspace +- Excludes target directory files + +You may also need to manually update: + +- Documentation examples +- Any hardcoded version references in other files + +### 2. Create Release Branch (for major/minor releases) @@ -208,38 +240,6 @@ docker run -p 8302:8302 o1labs/mina-rust:v1.5.0 -### 2. Update Version Numbers - -```bash -# Update all Cargo.toml version fields -make release-update-version VERSION=1.5.0 -``` - - - -
-Script contents (click to expand) - - - {UpdateVersionScript} - - -
- - -This automatically updates version references in: - -- All `Cargo.toml` files in the workspace -- Excludes target directory files - -You may also need to manually update: - -- Documentation examples -- Any hardcoded version references in other files - ### 3. Create Release PR ```bash diff --git a/website/docs/node-operators/archive-node.md b/website/docs/node-operators/archive-node.md index a97fbbe02..45594038a 100644 --- a/website/docs/node-operators/archive-node.md +++ b/website/docs/node-operators/archive-node.md @@ -62,10 +62,10 @@ Ensure Docker and Docker Compose are installed on your system - # Download the archive node docker-compose file (choose one method) # Using wget: - wget https://raw.githubusercontent.com/o1-labs/mina-rust/v0.17.0/docker-compose.archive.devnet.yml + wget https://raw.githubusercontent.com/o1-labs/mina-rust/v0.18.0/docker-compose.archive.devnet.yml # Or using curl: - curl -O https://raw.githubusercontent.com/o1-labs/mina-rust/v0.17.0/docker-compose.archive.devnet.yml + curl -O https://raw.githubusercontent.com/o1-labs/mina-rust/v0.18.0/docker-compose.archive.devnet.yml # Create required .env file with PostgreSQL settings cat > .env << EOF @@ -76,7 +76,7 @@ Ensure Docker and Docker Compose are installed on your system - EOF ``` - For the latest development version, replace `v0.17.0` with `develop` in the + For the latest development version, replace `v0.18.0` with `develop` in the URL. diff --git a/website/docs/node-operators/block-producer.md b/website/docs/node-operators/block-producer.md index 0c32fcebf..fe1638a63 100644 --- a/website/docs/node-operators/block-producer.md +++ b/website/docs/node-operators/block-producer.md @@ -27,16 +27,16 @@ Ensure Docker and Docker Compose are installed on your system - # Download the block producer docker-compose file (choose one method) # Using wget: - wget https://raw.githubusercontent.com/o1-labs/mina-rust/v0.17.0/docker-compose.block-producer.yml + wget https://raw.githubusercontent.com/o1-labs/mina-rust/v0.18.0/docker-compose.block-producer.yml # Or using curl: - curl -O https://raw.githubusercontent.com/o1-labs/mina-rust/v0.17.0/docker-compose.block-producer.yml + curl -O https://raw.githubusercontent.com/o1-labs/mina-rust/v0.18.0/docker-compose.block-producer.yml # Create an empty .env file to avoid warnings (optional - has defaults) touch .env ``` - For the latest development version, replace `v0.17.0` with `develop` in the + For the latest development version, replace `v0.18.0` with `develop` in the URL. 2. **Verify Docker Image Version** (Optional but recommended) diff --git a/website/docs/node-operators/docker-usage.md b/website/docs/node-operators/docker-usage.md index 20b81f4bc..170954f71 100644 --- a/website/docs/node-operators/docker-usage.md +++ b/website/docs/node-operators/docker-usage.md @@ -156,10 +156,10 @@ mkdir mina-rust-node && cd mina-rust-node # Download the docker-compose.yml file (choose one method) # Using wget: -wget https://raw.githubusercontent.com/o1-labs/mina-rust/v0.17.0/docker-compose.yml +wget https://raw.githubusercontent.com/o1-labs/mina-rust/v0.18.0/docker-compose.yml # Or using curl: -curl -O https://raw.githubusercontent.com/o1-labs/mina-rust/v0.17.0/docker-compose.yml +curl -O https://raw.githubusercontent.com/o1-labs/mina-rust/v0.18.0/docker-compose.yml # Create an empty .env file to avoid warnings (optional - has defaults) touch .env diff --git a/website/docs/node-operators/node-management.md b/website/docs/node-operators/node-management.md index 54f8319db..609edb698 100644 --- a/website/docs/node-operators/node-management.md +++ b/website/docs/node-operators/node-management.md @@ -38,7 +38,7 @@ Rustc version: 1.84.1 For a specific version: ```bash -docker run --rm o1labs/mina-rust:v0.17.0 build-info +docker run --rm o1labs/mina-rust:v0.18.0 build-info ``` ### Using Native Binary From f657d578eb60b5f258a888fcec4ab35cb770236a Mon Sep 17 00:00:00 2001 From: Jolte Date: Thu, 20 Nov 2025 17:52:34 +0200 Subject: [PATCH 10/10] Prepare release v0.18.1 Update version to 0.18.1 in all Cargo.toml files and add CHANGELOG entry for hotfix release addressing Docker Compose frontend black screen issue. --- CHANGELOG.md | 10 +++++++++- cli/Cargo.toml | 2 +- cli/replay_dynamic_effects/Cargo.toml | 2 +- core/Cargo.toml | 2 +- docker-compose.yml | 3 ++- fuzzer/Cargo.toml | 2 +- ledger/Cargo.toml | 2 +- macros/Cargo.toml | 2 +- mina-p2p-messages/Cargo.toml | 2 +- node/Cargo.toml | 2 +- node/account/Cargo.toml | 2 +- node/common/Cargo.toml | 2 +- node/invariants/Cargo.toml | 2 +- node/native/Cargo.toml | 2 +- node/testing/Cargo.toml | 2 +- node/web/Cargo.toml | 2 +- p2p/Cargo.toml | 2 +- p2p/libp2p-rpc-behaviour/Cargo.toml | 2 +- p2p/testing/Cargo.toml | 2 +- poseidon/Cargo.toml | 2 +- snark/Cargo.toml | 2 +- tools/archive-breadcrumb-compare/Cargo.toml | 2 +- tools/bootstrap-sandbox/Cargo.toml | 2 +- tools/fuzzing/Cargo.toml | 2 +- tools/gossipsub-sandbox/Cargo.toml | 2 +- tools/hash-tool/Cargo.toml | 2 +- tools/ledger-tool/Cargo.toml | 2 +- tools/transport/Cargo.toml | 2 +- tools/webrtc-sniffer/Cargo.toml | 2 +- vendor/salsa-simple/Cargo.toml | 2 +- vrf/Cargo.toml | 2 +- 31 files changed, 40 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 733bca60d..01b3b0605 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## [0.18.1] - 2025-11-20 + +### Fixed + +- **Docker Compose**: Fix frontend black screen issue by changing environment + from `compose` to `local` and exposing port 3000 for rust node HTTP API (hotfix `v0.18.1`) + ## [0.18.0] - 2025-11-04 ### OCaml node @@ -680,7 +687,8 @@ First public release. - Alpha version of the node which can connect and syncup to the berkeleynet network, and keep applying new blocks to maintain consensus state and ledger up to date. - Web-based frontend for the node. -[Unreleased]: https://github.com/openmina/openmina/compare/v0.18.0...develop +[Unreleased]: https://github.com/openmina/openmina/compare/v0.18.1...develop +[0.18.1]: https://github.com/openmina/openmina/compare/v0.18.0...v0.18.1 [0.18.0]: https://github.com/openmina/openmina/compare/v0.17.0...v0.18.0 [0.17.0]: https://github.com/openmina/openmina/compare/v0.16.0...v0.17.0 [0.16.0]: https://github.com/openmina/openmina/compare/v0.15.0...v0.16.0 diff --git a/cli/Cargo.toml b/cli/Cargo.toml index d776c6886..e783539ef 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cli" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/cli/replay_dynamic_effects/Cargo.toml b/cli/replay_dynamic_effects/Cargo.toml index e57fadbcf..1b0f49316 100644 --- a/cli/replay_dynamic_effects/Cargo.toml +++ b/cli/replay_dynamic_effects/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "replay_dynamic_effects" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/core/Cargo.toml b/core/Cargo.toml index 0e7b2c7f4..e7fbca661 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-core" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/docker-compose.yml b/docker-compose.yml index 896fa7475..6aac56d83 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,7 @@ services: volumes: - ./mina-workdir:/root/.mina:rw ports: + - "3000:3000" - "${MINA_LIBP2P_PORT:-8302}:${MINA_LIBP2P_PORT:-8302}" environment: MINA_LIBP2P_EXTERNAL_IP: "${MINA_LIBP2P_EXTERNAL_IP:-}" @@ -20,6 +21,6 @@ services: frontend: image: o1labs/mina-rust-frontend:${MINA_FRONTEND_TAG:-latest} environment: - MINA_FRONTEND_ENVIRONMENT: compose + MINA_FRONTEND_ENVIRONMENT: local ports: - "8070:80" diff --git a/fuzzer/Cargo.toml b/fuzzer/Cargo.toml index 802ed09df..2510fb796 100644 --- a/fuzzer/Cargo.toml +++ b/fuzzer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-fuzzer" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/ledger/Cargo.toml b/ledger/Cargo.toml index bad1823a5..767430473 100644 --- a/ledger/Cargo.toml +++ b/ledger/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-tree" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 2c8462a1a..c2c42a76a 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-macros" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" authors = ["Alexander Koptelov "] diff --git a/mina-p2p-messages/Cargo.toml b/mina-p2p-messages/Cargo.toml index 6e4406c9a..00d034829 100644 --- a/mina-p2p-messages/Cargo.toml +++ b/mina-p2p-messages/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-p2p-messages" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/node/Cargo.toml b/node/Cargo.toml index b1dfabe00..375a993f1 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "node" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/node/account/Cargo.toml b/node/account/Cargo.toml index ae1dbc475..cee9ec721 100644 --- a/node/account/Cargo.toml +++ b/node/account/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-account" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" description = "Account management for Mina nodes, including key generation, encryption, and address handling" diff --git a/node/common/Cargo.toml b/node/common/Cargo.toml index 5014db9dd..e1d2867b3 100644 --- a/node/common/Cargo.toml +++ b/node/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-common" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/node/invariants/Cargo.toml b/node/invariants/Cargo.toml index d156b95e2..96f62b975 100644 --- a/node/invariants/Cargo.toml +++ b/node/invariants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-invariants" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/node/native/Cargo.toml b/node/native/Cargo.toml index 66720c804..1facd9ce1 100644 --- a/node/native/Cargo.toml +++ b/node/native/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-native" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/node/testing/Cargo.toml b/node/testing/Cargo.toml index 7c4fb9559..687000c58 100644 --- a/node/testing/Cargo.toml +++ b/node/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-testing" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/node/web/Cargo.toml b/node/web/Cargo.toml index a4c2865c1..85f21a577 100644 --- a/node/web/Cargo.toml +++ b/node/web/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-node-web" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml index 157bd6087..f9c3fa91a 100644 --- a/p2p/Cargo.toml +++ b/p2p/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "p2p" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/p2p/libp2p-rpc-behaviour/Cargo.toml b/p2p/libp2p-rpc-behaviour/Cargo.toml index 0fda7d56f..817cb4ada 100644 --- a/p2p/libp2p-rpc-behaviour/Cargo.toml +++ b/p2p/libp2p-rpc-behaviour/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libp2p-rpc-behaviour" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/p2p/testing/Cargo.toml b/p2p/testing/Cargo.toml index a7eb6731b..1779b8a66 100644 --- a/p2p/testing/Cargo.toml +++ b/p2p/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "p2p-testing" -version = "0.18.0" +version = "0.18.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/poseidon/Cargo.toml b/poseidon/Cargo.toml index a1a7905d7..0c806424c 100644 --- a/poseidon/Cargo.toml +++ b/poseidon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "poseidon" -version = "0.18.0" +version = "0.18.1" edition = "2021" [lints] diff --git a/snark/Cargo.toml b/snark/Cargo.toml index f582936c3..d588e2d9a 100644 --- a/snark/Cargo.toml +++ b/snark/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "snark" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0" diff --git a/tools/archive-breadcrumb-compare/Cargo.toml b/tools/archive-breadcrumb-compare/Cargo.toml index 23ee90cab..f20f67977 100644 --- a/tools/archive-breadcrumb-compare/Cargo.toml +++ b/tools/archive-breadcrumb-compare/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-archive-breadcrumb-compare" -version = "0.18.0" +version = "0.18.1" edition = "2021" [dependencies] diff --git a/tools/bootstrap-sandbox/Cargo.toml b/tools/bootstrap-sandbox/Cargo.toml index ed84ab4a9..ca0b72567 100644 --- a/tools/bootstrap-sandbox/Cargo.toml +++ b/tools/bootstrap-sandbox/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-bootstrap-sandbox" -version = "0.18.0" +version = "0.18.1" edition = "2021" [dependencies] diff --git a/tools/fuzzing/Cargo.toml b/tools/fuzzing/Cargo.toml index 210b17cea..fb261eada 100644 --- a/tools/fuzzing/Cargo.toml +++ b/tools/fuzzing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "transaction_fuzzer" -version = "0.18.0" +version = "0.18.1" edition = "2021" [dependencies] diff --git a/tools/gossipsub-sandbox/Cargo.toml b/tools/gossipsub-sandbox/Cargo.toml index bf0a41a84..28dea1944 100644 --- a/tools/gossipsub-sandbox/Cargo.toml +++ b/tools/gossipsub-sandbox/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-gossipsub-sandbox" -version = "0.18.0" +version = "0.18.1" edition = "2021" [dependencies] diff --git a/tools/hash-tool/Cargo.toml b/tools/hash-tool/Cargo.toml index 948f3da92..8b32400f7 100644 --- a/tools/hash-tool/Cargo.toml +++ b/tools/hash-tool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hash-tool" -version = "0.18.0" +version = "0.18.1" edition = "2021" [dependencies] diff --git a/tools/ledger-tool/Cargo.toml b/tools/ledger-tool/Cargo.toml index 31d580937..32be11fe6 100644 --- a/tools/ledger-tool/Cargo.toml +++ b/tools/ledger-tool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ledger-tool" -version = "0.18.0" +version = "0.18.1" edition = "2021" [dependencies] diff --git a/tools/transport/Cargo.toml b/tools/transport/Cargo.toml index 86fd8ce99..f6cffa94a 100644 --- a/tools/transport/Cargo.toml +++ b/tools/transport/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mina-transport" -version = "0.18.0" +version = "0.18.1" edition = "2021" [dependencies] diff --git a/tools/webrtc-sniffer/Cargo.toml b/tools/webrtc-sniffer/Cargo.toml index 572c04bf1..9dc0d7efb 100644 --- a/tools/webrtc-sniffer/Cargo.toml +++ b/tools/webrtc-sniffer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "webrtc-sniffer" -version = "0.18.0" +version = "0.18.1" edition = "2021" [dependencies] diff --git a/vendor/salsa-simple/Cargo.toml b/vendor/salsa-simple/Cargo.toml index 1459ac5e6..493660698 100644 --- a/vendor/salsa-simple/Cargo.toml +++ b/vendor/salsa-simple/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "salsa-simple" -version = "0.18.0" +version = "0.18.1" edition = "2021" [dev-dependencies] diff --git a/vrf/Cargo.toml b/vrf/Cargo.toml index 665b766c8..92bd7887d 100644 --- a/vrf/Cargo.toml +++ b/vrf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vrf" -version = "0.18.0" +version = "0.18.1" edition = "2021" license = "Apache-2.0"