From 3559d83f8c7a998538028303f8329b148db98c8d Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 15 Oct 2025 17:12:11 +0200 Subject: [PATCH 1/3] 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 09324c70a7e5d461f5e0e4a676330cfece40bf47 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 5 Nov 2025 00:36:15 +0800 Subject: [PATCH 2/3] CI: remove SQLite setup as not required anymore --- .github/workflows/build-reusable.yaml | 8 -------- 1 file changed, 8 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 }} From 51c7ca76a3d0e2561dbb75aff96c22dd14d62dca Mon Sep 17 00:00:00 2001 From: Jolte Date: Wed, 5 Nov 2025 16:40:38 +0200 Subject: [PATCH 3/3] 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 486a81efa..2019ac1be 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 4bfcbff03..8a295baa3 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 ef94e529a..76b32e4d0 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 933939c9e..c6884f153 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