-
Notifications
You must be signed in to change notification settings - Fork 265
Update RPC ports in op-conductor.mdx examples #1170
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
✅ Deploy Preview for docs-optimism ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
📝 WalkthroughWalkthroughThe pull request introduces updates to the documentation of the Possibly related PRs
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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
Documentation and Community
|
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
🧹 Outside diff range and nitpick comments (2)
pages/builders/chain-operators/tools/op-conductor.mdx (2)
547-548
: Add parameter descriptions forconductor_addServerAsVoter
The example includes placeholders (
<id>
,<raft-consensus-addr>
,<version>
) without explaining their purpose or expected values. Consider adding parameter descriptions to help users understand what values they should provide.Also applies to: 554-554
538-538
: Maintain consistent callout formattingFor consistency with other API-related callouts in the documentation, consider expanding this callout to match the format of others, such as including additional context about the consensus-related nature of this API.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
📒 Files selected for processing (1)
pages/builders/chain-operators/tools/op-conductor.mdx
(16 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
pages/builders/chain-operators/tools/op-conductor.mdx (1)
Pattern **/*.mdx
: "ALWAYS review Markdown content THOROUGHLY with the following criteria:
- Use proper nouns in place of personal pronouns like 'We' and 'Our' to maintain consistency in communal documentation.
- Avoid gender-specific language and use the imperative form.
- Monitor capitalization for emphasis. Avoid using all caps, italics, or bold for emphasis.
- Ensure proper nouns are capitalized in sentences.
- Apply the Oxford comma.
- Use proper title case for buttons, tab names, page names, and links. Sentence case should be used for body content and short phrases, even in links.
- Use correct spelling and grammar at all times (IMPORTANT).
- For H1, H2, and H3 headers:
- Use sentence case, capitalizing only the first word.
- Preserve the capitalization of proper nouns, technical terms, and acronyms as defined in the 'nouns.txt' file located in the root directory of the project.
- Do not automatically lowercase words that appear in the 'nouns.txt' file, regardless of their position in the header.
- Flag any headers that seem to inconsistently apply these rules for manual review.
- When reviewing capitalization, always refer to the 'nouns.txt' file for the correct capitalization of proper nouns and technical terms specific to the project.
"
🔇 Additional comments (1)
pages/builders/chain-operators/tools/op-conductor.mdx (1)
376-376
: LGTM: RPC endpoint URL updates are consistent
The changes to update the RPC endpoint URLs from port 50050 to port 8547 align with the suggested conductor configs section, making the documentation more accurate and consistent.
Also applies to: 382-382, 396-396, 402-402, 416-416, 422-422, 436-436, 442-442, 456-456, 462-462, 476-476, 482-482, 500-500, 506-506, 524-524, 530-530, 547-548, 554-554, 573-573, 579-579, 597-597, 603-603, 621-621, 627-627, 645-645, 651-651, 665-665, 671-671, 689-689, 695-695, 714-714, 720-720
Description
The RPC examples for op-conductor currently have the default consensus port as the RPC port, which is confusing. This changes the port to line up with the RPC port in the "suggested conductor configs" in the op-conductor docs
conductor_addServerAsVoter
exampleTests
Manually tested hitting local op-conductor instances' RPC ports with several examples leads to OK responses:
cast rpc conductor_leader --rpc-url http://127.0.0.1:8547
cast rpc conductor_paused --rpc-url http://127.0.0.1:8547
cast rpc conductor_stopped --rpc-url http://127.0.0.1:8547
cast rpc conductor_sequencerHealthy --rpc-url http://127.0.0.1:8547
cast rpc conductor_leaderWithID --rpc-url http://127.0.0.1:8547