-
Notifications
You must be signed in to change notification settings - Fork 4.1k
chore: fix broken links #25088
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
chore: fix broken links #25088
Conversation
📝 WalkthroughWalkthroughThis change updates documentation comments and markdown files to reference new or relocated URLs for CometBFT and Cosmos SDK documentation. No functional code, logic, or control flow has been altered; only documentation links have been revised to point to official or legacy documentation sources. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. ✨ 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 (
|
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.
Actionable comments posted: 0
♻️ Duplicate comments (1)
baseapp/abci.go (1)
471-471: Same nit as above – duplicateThe same URL appears here; apply the consistency tweak in both spots.
🧹 Nitpick comments (2)
types/staking.go (1)
15-15: Use a version-agnostic URL or keep anchors consistentGood catch replacing the broken GitHub link.
For long-term maintainability, consider either:
- Dropping the hard-coded
/v0.37/segment so future CometBFT upgrades don’t require another sweep, or- Adding the same “#consensus/block-execution-methods” anchor used elsewhere (e.g. this file earlier) so readers land directly on the relevant section.
Pure documentation nit, no code impact.
baseapp/abci.go (1)
392-392: Add anchor or mirror URL style for consistencyAll other references (see
types/staking.go) include the “#consensus/block-execution-methods” anchor.
Adding it here—or removing it everywhere—will keep the doc comments uniform and drop readers on the exact subsection.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Knowledge Base: Disabled due to Reviews > Disable Knowledge Base setting
📒 Files selected for processing (3)
baseapp/abci.go(2 hunks)docs/docs/learn/beginner/01-tx-lifecycle.md(2 hunks)types/staking.go(1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/docs/learn/beginner/01-tx-lifecycle.md
[style] ~76-~76: ‘Prior to’ might be wordy. Consider a shorter alternative.
Context: ...rd a Tx if it is found to be invalid. Prior to consensus, nodes continuously check inc...
(EN_WORDINESS_PREMIUM_PRIOR_TO)
⏰ 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). (1)
- GitHub Check: Summary
🔇 Additional comments (2)
docs/docs/learn/beginner/01-tx-lifecycle.md (2)
74-77: Updated CometBFT links resolve correctlyThe switch to the
legacy-docs/messagespaths fixes the 404s and keeps the version in sync with the rest of the docs. Looks good.
129-129: Auth module link fixedConfirming the new link points to the README and renders fine. No further action needed.
Old broken link:
https://github.com/cometbft/cometbft/v2/blob/main/spec/abci/abci%2B%2B_basic_concepts.md
New correct link:
https://docs.cometbft.com/v0.37/spec/abci/abci++_basic_concepts
Old broken link:
https://github.com/cometbft/cometbft/v2/blob/main/spec/abci/abci++_basic_concepts
New correct link:
https://docs.cometbft.com/v0.37/spec/abci/abci++_basic_concepts
Old broken link:
https://docs.cometbft.com/v0.37/spec/p2p/messages/mempool/
New correct link:
https://docs.cometbft.com/v0.37/spec/p2p/legacy-docs/messages/mempool/
Old broken link:
https://github.com/cosmos/cosmos-sdk/tree/main/x/auth/spec
New correct link:
https://github.com/cosmos/cosmos-sdk/blob/main/x/auth/README.md
Summary by CodeRabbit