fix: correct v23.1.4 checkpoint hash#7368
Conversation
✅ No Merge Conflicts DetectedThis PR currently has no conflicts with other open PRs. |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughIn Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
✅ Review complete (commit c3e3b9d) |
thepastaclaw
left a comment
There was a problem hiding this comment.
Code Review
Verified the one-line checkpoint hash fix in src/chainparams.cpp at height 2487500. The new value matches consensus.defaultAssumeValid for the same height (line 222) and the chainTxData reference (line 344), while nMinimumChainWork retains its correct chainwork value (line 221). Both agents and CodeRabbit produced no findings; the PR is correctly scoped and accurate.
GitHub does not allow PastaClaw to approve their own PR, so this verified clean result is posted as a COMMENT review instead of APPROVE.
Fix v23.1.4 checkpoint hash
Issue being fixed or feature implemented
The v23.1.4 mainnet checkpoint at height 2487500 was accidentally populated
with the
nMinimumChainWorkvalue instead of the block hash. Checkpoint lookuptreats these entries as block hashes, so the new checkpoint could not be found
in the block index.
What was done?
Updated the height 2487500 checkpoint entry to use the same block hash already
configured for
consensus.defaultAssumeValidat that height:00000000000000119fe42827219e0686d3f7b494ae65f823194c740c5dbab492How Has This Been Tested?
git diff --check.defaultAssumeValid;nMinimumChainWork.ship.Breaking Changes
None.
Checklist