-
Notifications
You must be signed in to change notification settings - Fork 10
fix: coderabbit review fixes #104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
QuantumExplorer
merged 28 commits into
dashpay:v0.40-dev
from
DCG-Claude:fix/cr-review-fixes
Aug 16, 2025
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
1ca5da0
fix(dash-spv): correct NetworkMessage enum variant name from GetMnLis…
0382ae9
fix(dash-spv): add explicit error handling to find_chain_lock_quorum …
7a2a46d
fix(dash-spv): align block message expectations with runtime behavior…
54c224b
fix(dash-spv): resolve storage handle shadowing in chainlock validati…
767918c
fix(dash-spv): use actual block height in MnListDiff validation errors
080d620
fix(dash-spv): replace MemoryStorage with MemoryStorageManager in val…
e6e1396
fix(dash-spv): correct test assertion for qr_info_extra_share default
b9c8a3c
fix(dash-spv): add bounds checking to sync phase completion methods
f49b3f7
fix(sml): use per-window mining_start for LLMQ type skip check
ec8fa83
fix(docs): update API documentation to match actual dash-spv implemen…
f20b8f4
fix(dash-spv): replace hardcoded quorum size with dynamic LLMQ size
b52df40
fix(dash-spv): update MockStorageManager to match current StorageMana…
6d9c734
Replace todo!() with real QRInfo response correlation implementation
6d80d0c
fix(phase-3): correct processing_time to store elapsed duration inste…
19499bf
Replace todo!() with real QRInfo response correlation implementation
e285a40
fix(qr_info_spv_plan): replace send_error with proper Result type han…
c9d9240
fix(qr_info_spv_plan): replace trait object Vec with enum-based recov…
640465f
Fix QRInfoCorrelationManager pending_requests field synchronization
daea8ee
fix: integrate Phase 3 with existing dash-spv interfaces instead of d…
99cb5cd
fix(dash-spv): correct NetworkMessage enum variant to GetMnListD
4293bf5
fix(build): resolve compilation errors in key-wallet-ffi and dash-spv
6b699ae
revert: undo extra changes to dash-spv/src/sync/sequential/mod.rs fro…
3bb7cfb
revert: restore KeyWalletFFI targets in Package.swift from commit 578…
a32c854
chore: remove qr_info_spv_plan folder
63ba730
revert: uncomment AddressGenerator interface in key_wallet.udl
9ec2793
revert: restore original key-wallet-ffi/src/lib.rs implementation
dea2559
fix: restore working versions from v0.40-dev to fix build and test co…
0ecb5ad
fix: add missing UnconfirmedTransaction import in error_handling_test.rs
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
SpvStats new fields are not validated in FFISpvStats
connected_peers/total_peers/header_height/filter_height are set in the Rust struct but not asserted post-conversion. Either add FFISpvStats assertions (if supported) or note they’re intentionally ignored.
Try locating these fields in the FFI:
🏁 Script executed:
Length of output: 70575
🏁 Script executed:
Length of output: 2442
Add missing FFISpvStats assertions for peer and height fields
The SpvStats conversion test in dash-spv-ffi/tests/unit/test_type_conversions.rs currently checks most metrics but omits the four new fields (connected_peers, total_peers, header_height, filter_height). Please update the test to include assertions for these fields:
This ensures all fields introduced on the Rust side are properly round-tripped to the FFI struct.
📝 Committable suggestion
🤖 Prompt for AI Agents