-
Notifications
You must be signed in to change notification settings - Fork 10
chore: Drop ChainHash and related tests from dash
#228
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
Conversation
WalkthroughThis pull request removes the Changes
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
🧰 Additional context used📓 Path-based instructions (1)**/*.rs📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (14)📓 Common learnings📚 Learning: 2025-12-01T08:00:17.310ZApplied to files:
📚 Learning: 2025-12-01T08:00:17.310ZApplied to files:
📚 Learning: 2025-02-25T06:13:52.858ZApplied to files:
📚 Learning: 2025-12-01T08:00:17.310ZApplied to files:
📚 Learning: 2025-12-01T07:59:46.008ZApplied to files:
📚 Learning: 2025-12-01T08:01:18.160ZApplied to files:
📚 Learning: 2025-12-01T07:59:46.008ZApplied to files:
📚 Learning: 2025-12-01T08:00:37.906ZApplied to files:
📚 Learning: 2025-12-01T08:00:17.310ZApplied to files:
📚 Learning: 2025-12-01T08:00:17.310ZApplied to files:
📚 Learning: 2025-12-01T08:00:37.906ZApplied to files:
📚 Learning: 2025-12-01T08:00:37.906ZApplied to files:
📚 Learning: 2025-12-01T08:00:37.906ZApplied to files:
🧬 Code graph analysis (1)dash/src/blockdata/constants.rs (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (20)
🔇 Additional comments (1)
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. Comment |
This is basically only used as regression test for the genesis block hashes. Which we already also test in separate tests
<network>_genesis_full_block(except for regtest which gets added here in this PR) anyway so its redundant.Im trying to fixup the retest/devnet parameters in #227 but since devnet/regtest genesis are the same the use of
pub struct ChainHash([u8; 32]);doest work anymore with:because we can't capture the same value twice in there. So its either refactoring it or dropping it. I thought dropping makes more sense.
Note: The regtest test I added in here tests for invalid values but this will be fixed in #227.
Summary by CodeRabbit
Refactor
Tests
✏️ Tip: You can customize this high-level summary in your review settings.