Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
- component: validator
bin: miden-validator
port: 50101
- component: ntx-builder
bin: miden-ntx-builder
port: 50301
name: Build ${{ matrix.component }}
steps:
- name: Set up Docker Buildx
Expand Down
113 changes: 24 additions & 89 deletions .github/workflows/publish-debian-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,26 @@ permissions:
contents: read

jobs:
publish-node:
name: Publish Node ${{ matrix.arch }} Debian
publish:
name: Publish ${{ matrix.component.name }} ${{ matrix.arch }} Debian
permissions:
contents: write
strategy:
matrix:
arch: [amd64, arm64]
component:
- name: node
extra_deps: true
- name: prover
crate_dir: remote-prover
crate: miden-remote-prover
extra_deps: false
- name: validator
extra_deps: true
- name: ntx-builder
extra_deps: true
- name: network-monitor
extra_deps: false
runs-on:
labels: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
steps:
Expand All @@ -33,95 +46,17 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/install-rocksdb
- uses: ./.github/actions/install-protobuf-compiler
- name: Build and Publish Node
- if: ${{ matrix.component.extra_deps }}
uses: ./.github/actions/install-rocksdb
- if: ${{ matrix.component.extra_deps }}
uses: ./.github/actions/install-protobuf-compiler
- name: Build and Publish ${{ matrix.component.name }}
uses: ./.github/actions/debian
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
gitref: ${{ env.version }}
crate_dir: node
package: miden-node
packaging_dir: node
crate: miden-node
arch: ${{ matrix.arch }}

publish-prover:
name: Publish Prover ${{ matrix.arch }} Debian
permissions:
contents: write
strategy:
matrix:
arch: [amd64, arm64]
runs-on:
labels: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
steps:
- name: Checkout repo
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
persist-credentials: false
- name: Build and Publish Prover
uses: ./.github/actions/debian
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
gitref: ${{ env.version }}
crate_dir: remote-prover
package: miden-prover
packaging_dir: prover
crate: miden-remote-prover
arch: ${{ matrix.arch }}

publish-validator:
name: Publish Validator ${{ matrix.arch }} Debian
permissions:
contents: write
strategy:
matrix:
arch: [amd64, arm64]
runs-on:
labels: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
steps:
- name: Checkout repo
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
persist-credentials: false
- uses: ./.github/actions/install-rocksdb
- uses: ./.github/actions/install-protobuf-compiler
- name: Build and Publish Validator
uses: ./.github/actions/debian
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
gitref: ${{ env.version }}
crate_dir: validator
package: miden-validator
packaging_dir: validator
crate: miden-validator
arch: ${{ matrix.arch }}

publish-network-monitor:
name: Publish Network Monitor ${{ matrix.arch }} Debian
permissions:
contents: write
strategy:
matrix:
arch: [amd64, arm64]
runs-on:
labels: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
steps:
- name: Checkout repo
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: 0
persist-credentials: false
- name: Build and Publish Network Monitor
uses: ./.github/actions/debian
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
gitref: ${{ env.version }}
crate_dir: network-monitor
package: miden-network-monitor
packaging_dir: network-monitor
crate: miden-network-monitor
crate_dir: ${{ matrix.component.crate_dir || matrix.component.name }}
package: miden-${{ matrix.component.name }}
packaging_dir: ${{ matrix.component.name }}
crate: ${{ matrix.component.crate || format('miden-{0}', matrix.component.name) }}
arch: ${{ matrix.arch }}
1 change: 1 addition & 0 deletions .github/workflows/publish-debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
options:
- network-monitor
- node
- ntx-builder
- prover
- validator
version:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- component: validator
bin: miden-validator
port: 50101
- component: ntx-builder
bin: miden-ntx-builder
port: 50301
name: Publish ${{ matrix.component }} ${{ inputs.version }}
steps:
- name: Checkout repo
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- [BREAKING] `BlockRange.block_to` is now required for all RPC endpoints ([#2056](https://github.com/0xMiden/node/pull/2056)).
- [BREAKING] Renamed `--url` CLI flags and `*_URL` env vars to `--listen` / `*_LISTEN` across all components.
- [BREAKING] Removed `miden-node validator` subcommand and created a separate `miden-validator` binary ([#2053](https://github.com/0xMiden/node/pull/2053)).
- [BREAKING] Removed `miden-node ntx-builder` subcommand and created a separate `miden-ntx-builder` binary ([#2067](https://github.com/0xMiden/node/pull/2067)).

## v0.14.10 (2026-05-29)

Expand Down
65 changes: 33 additions & 32 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ members = [
"bin/genesis",
"bin/network-monitor",
"bin/node",
"bin/ntx-builder",
"bin/remote-prover",
"bin/stress-test",
"bin/validator",
"crates/block-producer",
"crates/db",
"crates/grpc-error-macro",
"crates/large-smt-backend-rocksdb",
"crates/ntx-builder",
"crates/proto",
"crates/remote-prover-client",
"crates/rocksdb-cxx-linkage-fix",
Expand Down Expand Up @@ -47,7 +47,6 @@ miden-large-smt-backend-rocksdb = { path = "crates/large-smt-backend-rocksdb", v
miden-node-block-producer = { path = "crates/block-producer", version = "0.15" }
miden-node-db = { path = "crates/db", version = "0.15" }
miden-node-grpc-error-macro = { path = "crates/grpc-error-macro", version = "0.15" }
miden-node-ntx-builder = { path = "crates/ntx-builder", version = "0.15" }
miden-node-proto = { path = "crates/proto", version = "0.15" }
miden-node-proto-build = { path = "proto", version = "0.15" }
miden-node-rpc = { path = "crates/rpc", version = "0.15" }
Expand Down
26 changes: 22 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ compose-logs: ## Follows logs for all components via docker compose
docker compose $(COMPOSE_FILES) logs -f

.PHONY: docker-build
docker-build: docker-build-node docker-build-validator ## Builds all Docker images
docker-build: docker-build-node docker-build-validator docker-build-ntx-builder docker-build-monitor ## Builds all Docker images

.PHONY: docker-build-node
docker-build-node: ## Builds the Miden node using Docker
Expand All @@ -177,11 +177,29 @@ docker-build-validator: ## Builds the Miden validator using Docker
--build-arg PORT=50101 \
-t miden-validator .

.PHONY: docker-build-ntx-builder
docker-build-ntx-builder: ## Builds the Miden network transaction builder using Docker
@CREATED=$$(date) && \
VERSION=$$(cat bin/ntx-builder/Cargo.toml | grep -m 1 '^version' | cut -d '"' -f 2) && \
COMMIT=$$(git rev-parse HEAD) && \
docker build --build-arg CREATED="$$CREATED" \
--build-arg VERSION="$$VERSION" \
--build-arg COMMIT="$$COMMIT" \
--build-arg BIN=miden-ntx-builder \
--build-arg PORT=50301 \
-t miden-ntx-builder .

.PHONY: docker-build-monitor
docker-build-monitor: ## Builds the network monitor using Docker
docker build \
-f bin/network-monitor/Dockerfile \
-t miden-network-monitor-image .
@CREATED=$$(date) && \
VERSION=$$(cat bin/network-monitor/Cargo.toml | grep -m 1 '^version' | cut -d '"' -f 2) && \
COMMIT=$$(git rev-parse HEAD) && \
docker build --build-arg CREATED="$$CREATED" \
--build-arg VERSION="$$VERSION" \
--build-arg COMMIT="$$COMMIT" \
--build-arg BIN=miden-network-monitor \
--build-arg PORT=3000 \
-t miden-network-monitor .

.PHONY: docker-run-node
docker-run-node: ## Runs the Miden node as a Docker container
Expand Down
39 changes: 0 additions & 39 deletions bin/network-monitor/Dockerfile

This file was deleted.

15 changes: 0 additions & 15 deletions bin/node/.env
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,3 @@ MIDEN_NODE_RPC_STORE_URL=
MIDEN_NODE_RPC_BLOCK_PRODUCER_URL=
MIDEN_NODE_RPC_VALIDATOR_URL=
MIDEN_NODE_RPC_NTX_BUILDER_URL=

# Validator
MIDEN_NODE_VALIDATOR_LISTEN=
MIDEN_NODE_VALIDATOR_GENESIS_CONFIG_FILE=
MIDEN_NODE_VALIDATOR_KEY=
MIDEN_NODE_VALIDATOR_KMS_KEY_ID=

# NTX Builder
MIDEN_NODE_NTX_BUILDER_LISTEN=
MIDEN_NODE_NTX_BUILDER_STORE_URL=
MIDEN_NODE_NTX_BUILDER_BLOCK_PRODUCER_URL=
MIDEN_NODE_NTX_BUILDER_VALIDATOR_URL=
MIDEN_NODE_NTX_BUILDER_NTX_PROVER_URL=
MIDEN_NODE_NTX_BUILDER_SCRIPT_CACHE_SIZE=
MIDEN_NODE_NTX_BUILDER_MAX_CYCLES=
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mirko-von-Leipzig do you want me to just delete the .env files now?

1 change: 0 additions & 1 deletion bin/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ clap = { features = ["env", "string"], workspace = true }
fs-err = { workspace = true }
humantime = { workspace = true }
miden-node-block-producer = { workspace = true }
miden-node-ntx-builder = { workspace = true }
miden-node-rpc = { workspace = true }
miden-node-store = { workspace = true }
miden-node-utils = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion bin/node/src/commands/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pub mod block_producer;
pub mod ntx_builder;
pub mod rpc;
pub mod store;

Expand Down
Loading
Loading