From 5a9d18810f30a4a1deb8f36aab37dd4d95459287 Mon Sep 17 00:00:00 2001 From: Luis Schwab Date: Sun, 1 Feb 2026 16:56:05 -0300 Subject: [PATCH 1/4] chore(clippy): fix clippy warning --- src/accumulator/mem_forest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accumulator/mem_forest.rs b/src/accumulator/mem_forest.rs index c719c10..dea4c36 100644 --- a/src/accumulator/mem_forest.rs +++ b/src/accumulator/mem_forest.rs @@ -426,7 +426,7 @@ impl MemForest { nodes.push((pos, node.get_data())); } - nodes.sort_by(|a, b| a.0.cmp(&b.0)); + nodes.sort_by_key(|a| a.0); for (_, target) in nodes { match self.map.remove(&target) { From 646b62bd6c94a7492d12608516cd3d1bb73f9201 Mon Sep 17 00:00:00 2001 From: Luis Schwab Date: Sun, 1 Feb 2026 16:57:40 -0300 Subject: [PATCH 2/4] chore(deps): bump `bitcoin_hashes` to 0.19 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0d36b8e..1edd237 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ rust-version = "1.74.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bitcoin_hashes = "0.18" +bitcoin_hashes = "0.19" hex-conservative = "1.0.0" serde = { version = "1.0", features = ["derive"], optional = true } From 8007af24856b3d038d0c7d452f847122f321464b Mon Sep 17 00:00:00 2001 From: Luis Schwab Date: Sun, 1 Feb 2026 17:02:12 -0300 Subject: [PATCH 3/4] chore(ci): bump `actions/checkout` to 6.0.2 --- .github/workflows/audit.yml | 2 +- .github/workflows/benchmarks.yml | 2 +- .github/workflows/rust.yml | 6 +++--- .github/workflows/zizmor.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 02a023f..7d1ed77 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 5049098..de3fc61 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -53,7 +53,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 # Full history for baseline comparison persist-credentials: false diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4b8fb51..028acd2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -15,7 +15,7 @@ jobs: contents: read steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false @@ -36,7 +36,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false @@ -61,7 +61,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 12b0af3..b510d30 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false From 10609761945f6d6b4a6512077c5c2b77283a5255 Mon Sep 17 00:00:00 2001 From: Luis Schwab Date: Sun, 1 Feb 2026 17:04:17 -0300 Subject: [PATCH 4/4] fix(ci): pin `actions/upload-artifact` to a hash --- .github/workflows/benchmarks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index de3fc61..e59ad83 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -214,7 +214,7 @@ jobs: echo "Run number: ${{ github.run_number }}" >> artifacts/archive-info.txt - name: Upload benchmark results - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: benchmark-results-${{ matrix.os }}-${{ github.run_number }} path: artifacts/ @@ -222,7 +222,7 @@ jobs: compression-level: 6 - name: Upload HTML reports - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: always() with: name: benchmark-html-reports-${{ matrix.os }}-${{ github.run_number }}