Repository navigation
fix: restore clippy on dev test targets - #1287
Conversation
`test_matrix` in `key-wallet/src/bip32.rs` generates colliding test names under `test-case` 3.3.x, which lowercases and strips the `0x`/`0X` and `""`/`'` inputs. 3.4.0 numbers each case so the names stay unique. Raising the minimum in every crate makes Cargo move a stale 3.3.1 lockfile forward instead of compiling against it.
|
Waiting for bot review — coderabbitai not yet. Wait for the missing reviews, or a writer can post |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Update test dependency versions dash-network/Cargo.toml, dash-spv/Cargo.toml, dash/Cargo.toml, hashes/Cargo.toml, key-wallet-ffi/Cargo.toml, key-wallet/Cargo.toml, rpc-client/Cargo.toml |
The manifests update the test-case dev-dependency from version 3.3 to 3.4. |
Adjust empty-payload message test dash/src/network/message.rs |
The test no longer includes NetworkMessage::WtxidRelay among messages whose payloads are asserted to be empty. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested reviewers: zocolini, pastapastapasta
Merge Risk: 
Minimal · up to 0f0d8
-
No actionable merge-blocking risk was identified.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (7 skipped: 7 unsupported.)
-
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
|
Bots are done — your move: post |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #1287 +/- ##
==========================================
- Coverage 82.09% 81.86% -0.24%
==========================================
Files 184 291 +107
Lines 58187 76393 +18206
==========================================
+ Hits 47769 62538 +14769
- Misses 10418 13855 +3437
|
Clippy with
--all-targets(the pre-push hook) fails ondevwith two compile errors in test code.dash/src/network/message.rs: refactor!: remove BIP141 (SegWit) and BIP341 (Taproot) support #400 removedNetworkMessage::WtxidRelay, and feat(dash-spv): Add BIP324 v2 encrypted P2P transport #264 merged right after with a test that still lists it. Each PR was green alone. This drops the stale entry.key-wallet/src/bip32.rs: thetest_matrixfrom refactor!: dropdashcore_hashes::hexin favour ofhex-conservative, banhex{,_lit,-literal}withcargo deny#1110 generates colliding test names undertest-case3.3.x, which lowercases and strips the0x/0Xand""/'inputs. 3.4.0 numbers each case so the names stay unique. Every crate declaredtest-case = "3.3", so a localCargo.lockstill on 3.3.1 fails to compile while CI resolves 3.4.1. This raises the minimum to"3.4"in all seven crates.PR Hygiene ·
0f0d814/self-reviewedWhen every merge requirement is met, the
PR Hygienecheck passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.Summary by CodeRabbit