Skip to content

Tracking PR for v0.15.0 release#401

Merged
bobbinth merged 24 commits intomainfrom
next
Jun 17, 2025
Merged

Tracking PR for v0.15.0 release#401
bobbinth merged 24 commits intomainfrom
next

Conversation

@bobbinth
Copy link
Copy Markdown
Contributor

This is a tracking PR for v0.15.0 release.

@sonarqubecloud
Copy link
Copy Markdown

Qyriad and others added 10 commits May 3, 2025 18:27
* docs: add module and function documentations

* Update miden-crypto/src/merkle/smt/mod.rs

Co-authored-by: Philipp Gackstatter <PhilippGackstatter@users.noreply.github.com>

* Update miden-crypto/src/merkle/smt/full/error.rs

Co-authored-by: Philipp Gackstatter <PhilippGackstatter@users.noreply.github.com>

* Update miden-crypto/src/merkle/smt/full/error.rs

Co-authored-by: Philipp Gackstatter <PhilippGackstatter@users.noreply.github.com>

* LeafIndex

* Update miden-crypto/src/merkle/smt/full/error.rs

Co-authored-by: Philipp Gackstatter <PhilippGackstatter@users.noreply.github.com>

* Remove

* LeafIndex to mod

* Priv

* Update mod.rs

* CHANGELOG.md

---------

Co-authored-by: Philipp Gackstatter <PhilippGackstatter@users.noreply.github.com>
* feat: allow pre sorted entries

* feat: add tests for pre-sorted

* fix: apply suggestions

* fix: changelog fmt
* fix doctest for `MerkleStore`

Commit b83b134 (#411) migrated uses of RpoDigest to Word, but missed the
return value of the helper function `int_to_node()` in the doctest for
`merkle::store::MerkleStore`. This wasn't caught by CI as CI does not
currently run doctests -- something that will be fixed in the next
commit.

* CI: run doctests
Comment on lines +48 to +59
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

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
@bobbinth bobbinth marked this pull request as ready for review June 17, 2025 08:09
@bobbinth bobbinth merged commit 2d18013 into main Jun 17, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants