Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
3d47453
feat: init p2ide note example
partylikeits1983 Oct 6, 2025
9386861
wip
partylikeits1983 Oct 9, 2025
1d4df14
Merge branch 'next' into ajl-p2ide-note
partylikeits1983 Oct 9, 2025
8985786
feat: demonstrate failure via note inputs
partylikeits1983 Oct 10, 2025
676abf1
Merge branch 'next' into ajl-p2ide-note
partylikeits1983 Oct 27, 2025
8b0ffc9
feat: working P2IDE note
partylikeits1983 Oct 27, 2025
3015452
fix: clippy warning
partylikeits1983 Oct 27, 2025
1ee295f
Update new_project.rs
crStiv Nov 4, 2025
913720d
Merge branch 'next' into ajl-p2ide-note
partylikeits1983 Nov 7, 2025
a12005f
refactor: address nits
partylikeits1983 Nov 7, 2025
4a6a26a
chore: fix permissions for the release workflow to trigger CI checks
greenhat Nov 13, 2025
e79d122
Merge pull request #777 from 0xMiden/greenhat/fix-trigger-ci-release-pr
bitwalker Nov 13, 2025
3229f03
Merge pull request #781 from 0xMiden/main
greenhat Nov 13, 2025
df6578f
chore: update expect files (after the release)
greenhat Nov 13, 2025
bc0e148
Merge pull request #782 from 0xMiden/greenhat/fix-next-update-expect
greenhat Nov 13, 2025
abbeb83
Merge pull request #704 from 0xMiden/ajl-p2ide-note
greenhat Nov 21, 2025
b862fb4
chore: update p2ide note example and test to use SDK v0.8 and miden-c…
greenhat Nov 21, 2025
0e112ac
chore: remove the panic source file location in the data segment
greenhat Nov 23, 2025
563d36e
chore: fix release artifact build
greenhat Nov 23, 2025
e184bea
chore: keep changes to all packages in one `CHANGELOG.md` and use it …
greenhat Nov 23, 2025
6598baf
Merge pull request #791 from 0xMiden/greenhat/fix-next-21-11-25
otrho Nov 24, 2025
78f0c2e
Merge pull request #792 from 0xMiden/greenhat/i778-sdk-version-bump-e…
greenhat Nov 25, 2025
e79020a
Merge pull request #793 from 0xMiden/greenhat/i779-fix-artifact-build
greenhat Nov 25, 2025
70594ae
Merge pull request #794 from 0xMiden/greenhat/i780-full-release-note
greenhat Nov 25, 2025
c6c6f33
refactor: migrate to WIT generation macro in counter-contract example,
greenhat Nov 20, 2025
ca6ae73
Merge pull request #790 from 0xMiden/greenhat/migrate-counter-contract
greenhat Nov 25, 2025
970d2f9
chore: add a smoke test for `cargo miden new`
greenhat Nov 12, 2025
d7095ed
chore: run new Miden project test in the separate CI job (space hog)
greenhat Nov 20, 2025
9333ae4
Merge pull request #767 from 0xMiden/greenhat/i764-new-mpt-test
greenhat Nov 25, 2025
7a6c12b
chore: split CI jobs to run some tests (space hogs) in separate jobs
greenhat Nov 26, 2025
1c86c8c
chore: fix node integration tests failing with "grpc-status header mi…
greenhat Nov 27, 2025
5c33211
Merge pull request #797 from 0xMiden/greenhat/i796-ci-out-of-space
otrho Nov 27, 2025
1ed2c2c
Merge pull request #799 from 0xMiden/greenhat/i766-node-500-error
otrho Nov 27, 2025
1ca9767
chore: remove unused tools in the GA runner image to free up disc space
greenhat Nov 28, 2025
051fa30
refactor: use composite action for "remove unused tools" step
greenhat Nov 28, 2025
ca72854
feature(cargo-miden): passthrough unknown options in `cargo miden bui…
greenhat Oct 20, 2025
78e5faa
refactor: log `midenc` arguments on `cargo miden build`
greenhat Oct 21, 2025
b1ca983
refactor: `cargo miden build` to parse all command-line arguments thr…
greenhat Nov 28, 2025
6a413e4
refactor: `cargo miden build` returns error on invalid cargo package …
greenhat Nov 28, 2025
e958571
refactor: clean up unused code, improve error messages
greenhat Nov 28, 2025
6b77a37
Merge pull request #800 from 0xMiden/greenhat/ci-free-more-space
otrho Dec 1, 2025
56225f0
Add tests for new project workspace integration
crStiv Dec 2, 2025
57d355f
Fix source locations when trim-paths is being used
djolertrk Nov 14, 2025
f6f96a4
chore: clean up the node's data folder before bootstrapping,
greenhat Dec 3, 2025
5d7d411
Merge pull request #723 from 0xMiden/greenhat/i320-pass-options-midenc
bitwalker Dec 4, 2025
4f20720
Merge pull request #785 from walnuthq/pr/fix-source-loc-resolution
bitwalker Dec 4, 2025
8952183
Merge pull request #807 from 0xMiden/greenhat/ci-node-bootstrap-failure
bitwalker Dec 4, 2025
47bb21f
Merge pull request #747 from crStiv/feat/add-workspace-support-to-new…
greenhat Dec 4, 2025
2f82c0b
Change the memory representation of 64-bit, dual-limbed values to be …
otrho Dec 11, 2025
8328937
Optimise the `realign_dw` memory intrinsic slightly.
otrho Dec 11, 2025
232596d
Merge pull request #765 from 0xMiden/otrho/little-endian-mem
otrho Dec 12, 2025
57195e3
feature: reconstruct account `struct` from the `wit-bingen` generated…
greenhat Nov 26, 2025
7a8506b
refactor: refine names, doc comments
greenhat Nov 26, 2025
8e9f230
refactor: generate `struct` only from the leaf modules
greenhat Nov 26, 2025
61e0933
feature: pass the generated `struct` as `fn run` parameter
greenhat Nov 26, 2025
551c97f
refactor: assume the `run` signature is known and expect exactly one
greenhat Nov 27, 2025
faebb86
refactor: extract `manifest_paths` module into a separate file
greenhat Nov 27, 2025
49ecb59
refactor: move `struct` generation up and call it `bindings::Account`
greenhat Nov 27, 2025
089612c
refactor: de-duplicate code, add comments, test
greenhat Nov 27, 2025
a48d060
refactor: add an error if `run` has more than 2 arguments,
greenhat Nov 27, 2025
e2a55fa
refactor: simplify `world` handling in `generate_bindings`, add test
greenhat Nov 27, 2025
9f59d5a
refactor: check the script's `run` signature against expected,
greenhat Nov 28, 2025
9de8f8a
refactor: add function name clashing check in `Account`
greenhat Nov 28, 2025
baf8d5b
feature(sdk): make account tx kernel functions callable via `self.`
greenhat Dec 1, 2025
1f8c81e
refactor: migrate auth component examples to full `#[component]` macro,
greenhat Dec 1, 2025
bfe60cf
feature(sdk): implement `ActiveAccount` for the generated `Account`
greenhat Dec 1, 2025
a822d1e
fix: make `NativeAccount::remove_asset` require `&mut self`
greenhat Dec 1, 2025
f8cb8d5
refactor: migrate p2ide note example to use passed `Account`
greenhat Dec 1, 2025
9c3d509
fix: make `set_*` methods in SDK account storage API require `&mut self`
greenhat Dec 1, 2025
6f040ee
fix: pass generated `Account` struct as `&mut` in the script
greenhat Dec 1, 2025
b161991
fix: make every `Account` method `&mut self` until
greenhat Dec 1, 2025
26a6663
fix: check that the script's `run` second arg is `&mut Account`
greenhat Dec 2, 2025
cd64351
refactor: introduce `is_account_type` function, mark account trait
greenhat Dec 2, 2025
f3debb2
refactor: better error message, clean up test code
greenhat Dec 2, 2025
619433a
refactor: explain `Account` struct role in the doc comments,
greenhat Dec 3, 2025
39a0478
Merge pull request #798 from 0xMiden/greenhat/i787-reconstruct-accoun…
greenhat Dec 15, 2025
f1fb816
Merge pull request #801 from 0xMiden/greenhat/i798-sdk-account-trait
greenhat Dec 15, 2025
400c069
chore: bump toolchain to 1.94/nightly-2025-12-10
bitwalker Dec 12, 2025
5a29b31
fix: rust-lld fails due to divergent definitions of __rdl_alloc_error…
bitwalker Dec 14, 2025
1a32fc0
fix(cargo-miden): allow local override of project-template templates
bitwalker Dec 14, 2025
3b637d1
chore: switch to Rust edition 2024
bitwalker Dec 14, 2025
e73781a
chore: update expect tests after toolchain modifications
bitwalker Dec 14, 2025
a6acfea
chore: run formatter after upgrade to 2024 edition
bitwalker Dec 14, 2025
421e72a
chore: bump rust-templates to v0.23.0
bitwalker Dec 15, 2025
758db09
fix: use git tag for new Miden project template (`cargo miden new`)
greenhat Dec 16, 2025
e675427
Merge pull request #821 from 0xMiden/greenhat/toolchain-1.94-mpt-git-tag
bitwalker Dec 16, 2025
9223f1d
Merge pull request #819 from 0xMiden/bitwalker/toolchain-1.94
bitwalker Dec 16, 2025
f33b6cf
fix: remove sorting the targets in `br_table` Wasm op translation
greenhat Dec 17, 2025
49f55ac
feature(SDK): add `Recipient::compute(serial_num: Word, script_digest…
greenhat Dec 16, 2025
a1e470d
chore: update expected files and code format after rebase
greenhat Dec 17, 2025
7d51997
docs: fix grammatical incossistencies and typos (#824)
CreeptoGengar Dec 17, 2025
c54beba
Merge pull request #823 from 0xMiden/greenhat/i818-miden-note-bindings
greenhat Dec 18, 2025
fc2c559
Merge pull request #825 from 0xMiden/greenhat/br-table-sort
greenhat Dec 18, 2025
fa94e79
fix: DomTreeSuccessorIter::next_back bounds handling
MozirDmitriy Dec 18, 2025
920c47a
Merge pull request #828 from MozirDmitriy/fix/domtree-successor-iter-…
bitwalker Dec 19, 2025
654c28c
chore: bump SDK version to `v0.8.0`, update CHANGELOG
greenhat Dec 23, 2025
cc6145d
Merge pull request #832 from 0xMiden/release-plz-2025-12-23-sdk
greenhat Dec 23, 2025
d710792
chore: update git tags in `cargo miden new` command
greenhat Dec 23, 2025
b6726c0
chore: updated Cargo.lock for `miden` v0.8
greenhat Dec 23, 2025
220d0f5
Merge pull request #835 from 0xMiden/greenhat/new-project-tag
greenhat Dec 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions .github/actions/cleanup-runner/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: 'Cleanup Runner'
description: 'Remove unused tools in the runner image to free disk space'

runs:
using: 'composite'
steps:
- name: Remove unused tools in the runner image
shell: bash
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force || true
sudo docker builder prune -a --force || true
108 changes: 102 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ on:
env:
# Set the new value when the cache grows too much and we hit the runner's disk space limit
# via https://github.com/rust-lang/docs.rs/pull/2433
RUST_CACHE_KEY: rust-cache-20250528
RUST_CACHE_KEY: rust-cache-20251212

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
Expand Down Expand Up @@ -59,6 +60,7 @@ jobs:
if: ${{ always() }}
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
Expand All @@ -85,6 +87,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
Expand Down Expand Up @@ -117,6 +120,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
Expand Down Expand Up @@ -152,6 +156,7 @@ jobs:
needs: [unit_tests]
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
Expand All @@ -169,8 +174,39 @@ jobs:
cargo install cargo-make --force
fi
- name: Test
# Skip some tests cause they are a space hog and run them in the separate job
run: |
cargo make test -E 'package(miden-integration-tests)'
cargo make test -E 'package(miden-integration-tests) - test(~rust_masm_tests::examples)'

midenc_integration_tests_examples:
name: midenc integration tests
runs-on: ubuntu-latest
# We only want to run the integration tests if the unit tests pass, and that has the added
# benefit that we can re-use the cache from the unit test job for all integration tests
needs: [unit_tests]
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
rustc --version
- name: Cache Cargo
uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ github.workflow }}-shared-tests
prefix-key: ${{ env.RUST_CACHE_KEY }}
# Do not persist the cache, leave that to the unit tests, we just use the cache here
save-if: false
- name: Install cargo-make
run: |
if ! cargo make --version 2>/dev/null; then
cargo install cargo-make --force
fi
- name: Test
# Skip some tests cause they are a space hog and run them in the separate job
run: |
cargo make test -E 'test(~rust_masm_tests::examples)'

cargo_miden_integration_tests:
name: cargo-miden integration tests
Expand All @@ -180,6 +216,66 @@ jobs:
needs: [unit_tests]
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
rustc --version
- name: Cache Cargo
uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ github.workflow }}-shared-tests
prefix-key: ${{ env.RUST_CACHE_KEY }}
# Do not persist the cache, leave that to the unit tests, we just use the cache here
save-if: false
- name: Install cargo-make
run: |
if ! cargo make --version 2>/dev/null; then
cargo install cargo-make --force
fi
- name: Test
# Skip running the some test since they are a disc space hog.
run: |
cargo make test -E 'package(cargo-miden) - test(new_project_integration_tests_pass) - test(test_all_templates_and_examples)'

cargo_miden_tests_mpt:
name: cargo-miden test Miden project template
runs-on: ubuntu-latest
# We only want to run the integration tests if the unit tests pass, and that has the added
# benefit that we can re-use the cache from the unit test job for all integration tests
needs: [unit_tests]
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
rustc --version
- name: Cache Cargo
uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ github.workflow }}-shared-tests
prefix-key: ${{ env.RUST_CACHE_KEY }}
# Do not persist the cache, leave that to the unit tests, we just use the cache here
save-if: false
- name: Install cargo-make
run: |
if ! cargo make --version 2>/dev/null; then
cargo install cargo-make --force
fi
- name: Test
run: |
cargo make test -E 'test(new_project_integration_tests_pass)'

cargo_miden_tests_templates_and_examples:
name: cargo-miden test new project templates and examples
runs-on: ubuntu-latest
# We only want to run the integration tests if the unit tests pass, and that has the added
# benefit that we can re-use the cache from the unit test job for all integration tests
needs: [unit_tests]
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
Expand All @@ -198,7 +294,7 @@ jobs:
fi
- name: Test
run: |
cargo make test -E 'package(cargo-miden)'
cargo make test -E 'test(test_all_templates_and_examples)'

miden_integration_node_tests:
name: miden integration node tests
Expand All @@ -208,6 +304,7 @@ jobs:
needs: [unit_tests]
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
Expand All @@ -226,16 +323,15 @@ jobs:
fi
- name: Test
run: |
# Run sequentially as a workaround until
# https://github.com/0xMiden/compiler/issues/766 is resolved
cargo make test -E 'package(miden-integration-node-tests)' --test-threads 1
cargo make test -E 'package(miden-integration-node-tests)'

cargo_publish_dry_run:
name: cargo publish dry run
runs-on: ubuntu-latest
needs: [unit_tests]
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/cleanup-runner
- name: Install Rust
run: |
rustup update --no-self-update
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jobs:
permissions:
contents: write
pull-requests: write
actions: write
concurrency:
group: release-plz-${{ github.ref }}
cancel-in-progress: false
Expand Down
Empty file added CHANGELOG.md
Empty file.
Loading