Merge bitcoin/bitcoin#28639: refactor: Remove unused nchaintx from SnapshotMetadata constructor, fix test, add test#962
Conversation
…tadata constructor, fix test, add test
|
Warning Rate limit exceeded@DashCoreAutoGuix has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 9 minutes and 15 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
WalkthroughThe constructor of the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes ✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
- Remove wrong nChainTx comment and cast as per Bitcoin commit faa90f6 - Complete the refactor by removing unnecessary cast to uint64_t Resolves validation issues while preserving Bitcoin intent. Test file changes not applicable as test/functional/feature_assumeutxo.py does not exist in Dash.
✅ Backport Verification - Issues FixedI found 1 issue and automatically applied fixes. Original Bitcoin commit: Issues Found and Fixed:✅ Missing Bitcoin changes: The PR was missing the removal of wrong nChainTx comment and cast from
File Analysis:✅ Core refactor applied correctly: SnapshotMetadata constructor parameter removed Reviewer Feedback Analysis:PastaPastaPasta comments reviewed: 0 Validation Results:
The backport is now complete and faithful to the original Bitcoin change. The test portion cannot be applied as the assumeutxo test file doesn't exist in Dash, but the core refactoring is fully implemented. ✅ |
✅ Backport Verification SuccessfulNo issues found! This backport is complete and faithful to the original Bitcoin change. Original Bitcoin commit: Verification Details:
Analysis Summary:This PR correctly implements the core refactoring from Bitcoin commit The missing test file Reviewer Feedback Analysis:PastaPastaPasta comments reviewed: 0 No human reviewer feedback requiring action. This PR is ready for merge. ✅ |
✅ Verification Complete - APPROVEDBitcoin Commit: Verification SummaryAll fixes have been correctly applied and the backport is now faithful to the Bitcoin commit: Changes Applied:
Test Changes:
CI Status: ✅ All 53 checks passing Size Ratio: Changes appropriately sized for this refactor (removed unused parameter and its references) The backport accurately reflects Bitcoin's intent to remove the unused |
Backports bitcoin#28639
Original commit: 448790c
Backported from Bitcoin Core v0.26
Note: The test file changes were not included as test/functional/feature_assumeutxo.py doesn't exist in Dash (it's for the assumeutxo feature which isn't implemented in Dash).
Summary by CodeRabbit