-
Notifications
You must be signed in to change notification settings - Fork 0
Merge bitcoin/bitcoin#26472: test: add missing bech32m / BIP86 test-cases to wallet_descriptor.py #129
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
Merge bitcoin/bitcoin#26472: test: add missing bech32m / BIP86 test-cases to wallet_descriptor.py #129
Conversation
…wallet_descriptor.py 887d85e test: add missing bech32m / BIP86 test-cases to wallet_descriptor.py (Sebastian Falbesoner) Pull request description: This small PR adds missing "bech32m" address type / BIP86 checks w.r.t. to the `getnewaddress`/`getrawchangeaddress` RPC and descriptor export functionality to the functional test `wallet_descriptor.py`. ACKs for top commit: shaavan: ACK 887d85e kristapsk: ACK 887d85e Tree-SHA512: 05b443ae14138769dc3c87a0178f21db2698fa5bcbeaa953c50ed0c9cf5dcd1effcf4afd09551ca9f4ce73898a7882caaf4c57078767beb6a6a65eb3a662726d
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Remove p2sh-segwit and bech32 test additions that were not in the original Bitcoin commit. Only add bech32m test cases as per bitcoin#26472. Original Bitcoin commit 887d85e only added bech32m support, but this PR was adding comprehensive address type coverage including p2sh-segwit and bech32 which should be separate backports. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
✅ Backport Verification - Issues FixedI found scope creep in this backport and automatically applied fixes. Original Bitcoin commit: Issues Found and Fixed:🔍 Scope Creep Detected
🛠️ Fixes Applied:
📊 Results After Fix:
Root Cause Analysis:The scope creep occurred because Dash's test file was missing previous Bitcoin backports that had added Backporting Principle Applied:"Preserve Bitcoin's intent with minimal Dash adaptations"
The backport should now be complete and faithful to the original Bitcoin change. ✅ |
❌ Backport Verification - CATASTROPHIC FAILUREOriginal Bitcoin commit: `9dce30194b` (Merge bitcoin#26472: test: add missing bech32m / BIP86 test-cases to wallet_descriptor.py) CRITICAL VIOLATIONS DETECTED: 🚨 Architectural Incompatibility ViolationWhat Bitcoin Did: Added bech32m (Taproot) test cases ONLY - 4 test additions for BIP86/Taproot functionality 🚨 CI Status: CRITICAL
🚨 Intent ViolationBitcoin's Intent: Test bech32m address generation and BIP86 key derivation paths 🚨 Reviewer Feedback AnalysisPastaPastaPasta comments reviewed: 0 Required Action: COMPLETE REJECTIONThis backport attempts to import Bitcoin consensus features that don't exist in Dash:
Correct Action:
Status: REJECTED - Bitcoin Taproot feature incompatible with Dash 🚫 This PR has been automatically closed due to architectural incompatibility. Bitcoin commit 9dce301 adds Taproot-specific functionality that cannot be backported to Dash. |
|
Automatically closed due to architectural incompatibility. Bitcoin commit 9dce301 adds Taproot-specific test functionality that cannot be backported to Dash, which does not support Taproot consensus features. |
Backports bitcoin#26472
Original commit: 9dce301
Backported from Bitcoin Core v0.25
This small PR adds missing "bech32m" address type / BIP86 checks w.r.t. to the
getnewaddress/getrawchangeaddressRPC and descriptor export functionality to the functional testwallet_descriptor.py.