Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7867258
chore: update crate version to 0.15.0
bobbinth Mar 16, 2025
e070fc1
feat: add SparseMerklePath (#389)
Qyriad May 4, 2025
0364745
Add default constructors to MmrPeaks and PartialMmr (#409)
sergerad May 5, 2025
c1920e3
docs: add module and function documentation (#408)
Himess May 9, 2025
8649dd1
docs: update old GitHub and GitHub Pages URLs to new 0xMiden naming (…
Himess May 9, 2025
4421236
fix: replace deprecated #[clap(...)] with #[command(...)] and #[arg(.…
Himess May 9, 2025
844c4e6
docs: add module and function documentation-2 (#410)
Himess May 13, 2025
b83b134
chore: Replace RpoDigest with Word struct (#411)
sergerad May 17, 2025
5ac06d2
chore: replace RpxDigest with Word (#420)
varun-doshi May 18, 2025
c9ff5d6
Allow pre-sorted entries in `Smt` (#406)
varun-doshi May 21, 2025
de77b46
chore: run doctests in CI, and fix existing broken doctest (#422)
Qyriad May 23, 2025
7e534bd
chore: fix typos in docs/comments
bobbinth May 25, 2025
1e8df8e
feat: add word! macro to miden-crypto (#423)
varun-doshi Jun 1, 2025
34dcbf4
refactor: introduce `Forest` struct (#400)
gswirski Jun 1, 2025
62f0ed2
Merge branch 'main' into next
bobbinth Jun 1, 2025
5343623
chore: fix merge conflicts
bobbinth Jun 1, 2025
9ad2db3
chore: remove rust-toolchain.toml
bobbinth Jun 1, 2025
a8a3f73
chore: increment MSRV to 1.87
bobbinth Jun 1, 2025
9d73263
chore: refresh dependencies
bobbinth Jun 1, 2025
d3b7c3b
feat: add `MerklePath` APIs to `SparseMerklePath` and update their do…
Qyriad Jun 8, 2025
78fe19f
refactor: simplify auth node computation
bobbinth Jun 8, 2025
fa74cd6
tests: add reference implementation of Faclon DSA test vectors (#425)
Al-Kindi-0 Jun 10, 2025
06df3e4
Bump Winterfell up and update licence (#433)
Al-Kindi-0 Jun 16, 2025
cfaf9f4
chore: update changelog
bobbinth Jun 17, 2025
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
11 changes: 0 additions & 11 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,3 @@ jobs:
run: |
rustup update --no-self-update
make doc

version:
name: check rust version consistency
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
profile: minimal
override: true
- name: check rust versions
run: ./scripts/check-rust-version.sh
17 changes: 16 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,19 @@
- name: Perform concurrent SMT tests
run: |
rustup update --no-self-update ${{matrix.toolchain}}
make test-smt-concurrent
make test-smt-concurrent

doc-tests:
name: doc-tests
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' && (github.base_ref == 'main' || github.base_ref == 'next') }}
strategy:
fail-fast: false
steps:
- uses: actions/checkout@main
- uses: Swatinem/rust-cache@v2
- name: Run doc-tests
run: |
rustup update --no-self-update
make test-docs
Comment on lines +48 to +59

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium test

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI 11 months ago

To fix the issue, we will add a permissions block at the root level of the workflow to apply to all jobs. Since the workflow only performs testing and documentation tasks, it likely only requires contents: read permissions. This ensures that the workflow has the minimal permissions necessary to function while reducing the risk of unintended actions.


Suggested changeset 1
.github/workflows/test.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -3,2 +3,4 @@
 name: test
+permissions:
+  contents: read
 
EOF
@@ -3,2 +3,4 @@
name: test
permissions:
contents: read

Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated

25 changes: 23 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
## 0.15.0 (2025-06-17)

- [BREAKING] Use a rich newtype for Merkle mountain range types' forest values (#400).
- Allow pre-sorted entries in `Smt` (#406).
- Added module and function documentation. (#408).
- Added default constructors to `MmrPeaks` and `PartialMmr` (#409).
- Added module and function documentation-2 (#410).
- [BREAKING] Replaced `RpoDigest` with `Word` struct (#411).
- Replaced deprecated #[clap(...)] with #[command(...)] and #[arg(...)] (#413).
- [BREAKING] Renamed `MerklePath::inner_nodes()` to `authenticated_nodes()` to better reflect its functionality (#415).
- Added `compute_root()`, `verify()`, and `authenticated_nodes()` to `SparseMerklePath` for parity with `MerklePath` (#415).
- [BREAKING] Replaced `RpxDigest` with `Word` struct (#420).
- Added `word!` macro to `miden-crypto` (#423).
- Added test vectors for RpoFalcon512 (#425).
- [BREAKING] Updated Winterfell dependency to v0.13 and licensed the project under the Apache 2.0 license (in addition to the MIT)(#433).
- [BREAKING] Incremented MSRV to 1.87.

## 0.14.1 (2025-05-31)

- Add missing `PartialSmt` APIs (#417).
- Added missing `PartialSmt` APIs (#417).
- Add module and function documentation. (#408).
- [BREAKING] Replace `RpoDigest` with `Word` struct (#411).
- Replace `RpxDigest` with `Word` struct (#420).

## 0.14.0 (2025-03-15)

Expand All @@ -13,10 +33,11 @@
- Added property-based testing (proptest) and fuzzing for `Smt::with_entries` and `Smt::compute_mutations` (#385).
- Sort keys in a leaf in the concurrent implementation of `Smt::with_entries`, ensuring consistency with the sequential version (#385).
- Skip unchanged leaves in the concurrent implementation of `Smt::compute_mutations` (#385).
- Add range checks to `ntru_gen` for Falcon DSA (#391).
- Added range checks to `ntru_gen` for Falcon DSA (#391).
- Optimized duplicate key detection in `Smt::with_entries_concurrent` (#395).
- [BREAKING] Moved `rand` to version `0.9` removing the `try_fill_bytes` method (#398).
- [BREAKING] Increment minimum supported Rust version to 1.85 (#399).
- Added `SparseMerklePath`, a compact representation of `MerklePath` which compacts empty nodes into a bitmask (#389).

## 0.13.3 (2025-02-18)

Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

We want to make contributing to this project as easy and transparent as possible, whether it's:

- Reporting a [bug](https://github.com/0xPolygonMiden/crypto/issues/new)
- Taking part in [discussions](https://github.com/0xPolygonMiden/crypto/discussions)
- Submitting a [fix](https://github.com/0xPolygonMiden/crypto/pulls)
- Proposing new [features](https://github.com/0xPolygonMiden/crypto/issues/new)
- Reporting a [bug](https://github.com/0xMiden/crypto/issues/new)
- Taking part in [discussions](https://github.com/0xMiden/crypto/discussions)
- Submitting a [fix](https://github.com/0xMiden/crypto/pulls)
- Proposing new [features](https://github.com/0xMiden/crypto/issues/new)

&nbsp;

Expand Down Expand Up @@ -105,4 +105,4 @@ We use [semver](https://semver.org/) naming convention.
&nbsp;

## Any contributions you make will be under the MIT Software License
In short, when you submit code changes, your submissions are understood to be under the same [MIT License](http://choosealicense.com/licenses/mit/) that covers the project. Feel free to contact the maintainers if that's a concern.
In short, when you submit code changes, your submissions are understood to be under the dual [MIT](./LICENSE-MIT) and [Apache 2.0](./LICENSE-APACHE) license that covers the project. Feel free to contact the maintainers if that's a concern.
Loading