Skip to content
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

Remove devnet configs #1099

Merged
merged 2 commits into from
Nov 8, 2024
Merged

Remove devnet configs #1099

merged 2 commits into from
Nov 8, 2024

Conversation

zainbacchus
Copy link
Contributor

Devnet MVP has wrapped up. We'll update this page once devnet stable is live.

@zainbacchus zainbacchus requested a review from a team as a code owner November 8, 2024 19:45
Copy link

netlify bot commented Nov 8, 2024

Deploy Preview for docs-optimism ready!

Name Link
🔨 Latest commit 13a836e
🔍 Latest deploy log https://app.netlify.com/sites/docs-optimism/deploys/672e6d812c4a0700084fd000
😎 Deploy Preview https://deploy-preview-1099--docs-optimism.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

coderabbitai bot commented Nov 8, 2024

Walkthrough

The pull request updates the documentation for the Interop devnet, indicating that the current devnet has been deprecated. It modifies various parameters for both Interop devnet 0 and Interop devnet 1 to reflect this change, setting values such as "Network Name" and "Chain ID" to "TBA" (To Be Announced). Other fields, including "Explorer," "Public RPC URL," and "Sequencer URL," have also been updated to "TBA," while the "OptimismPortal" field has been set to "TBD" (To Be Determined). Additionally, the words.txt file has been revised with several terms added and removed.

Changes

File Path Change Summary
pages/stack/interop/devnet.mdx Updated parameters for Interop devnet 0 and 1 to reflect deprecation: Network Name, Chain ID, Explorer, Public RPC URL, Sequencer URL to "TBA"; OptimismPortal to "TBD".
words.txt Added multiple terms including "Apeworx," "Arweave," "authrpc," and others; removed terms such as "Ankr," "Immunefi," and "Pyth."

Possibly related PRs

  • interop explainers #825: The changes in this PR enhance documentation related to interoperability, which is closely related to the updates made in the main PR regarding the Interop devnet's deprecation and parameters.
  • Update cross-chain-message.mdx #932: This PR updates terminology in the cross-chain messaging documentation, which aligns with the main PR's focus on the Interop devnet and its parameters.
  • supersim explainer #978: This PR introduces a new explainer for Supersim, which is relevant to the interoperability features discussed in the main PR.
  • superchainERC20 #986: The introduction of the SuperchainERC20 token standard in this PR relates to the interoperability aspects highlighted in the main PR.
  • superchain-weth #1043: This PR adds a new page for SuperchainWETH, which is relevant to the interoperability features discussed in the main PR.
  • Public interop devnet details #1087: This PR provides detailed information about the Interop devnet, which directly relates to the main PR's updates on the devnet's status and parameters.

Suggested labels

documentation

Suggested reviewers

  • sbvegan
  • zainbacchus

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?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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 (4)
pages/stack/interop/devnet.mdx (4)

18-19: Consider using a Callout component for the deprecation notice

For consistency and better visibility, consider wrapping the deprecation notice in a Callout component, similar to the warning above it.

-NOTE: The current Interop devnet has been deprecated. This page will be updated once the next Interop devnet is live.
+<Callout type="warning">
+The current Interop devnet has been deprecated. This page will be updated once the next Interop devnet is live.
+</Callout>

24-30: Maintain consistent quote style in the table

Some values use backticks (`) while others use single quotes ('). For consistency, use backticks throughout the table.

| Network Name                | `TBA`                                                                                                |
| Chain ID                    | `TBA`                                                                                                |
| Currency Symbol<sup>1</sup> | ETH                                                                                                  |
-| Explorer                    | 'TBA'                                                                                                |
-| Public RPC URL              | 'TBA'                                                                                                |
-| Sequencer URL               | 'TBA'                                                                                                |
+| Explorer                    | `TBA`                                                                                                |
+| Public RPC URL              | `TBA`                                                                                                |
+| Sequencer URL               | `TBA`                                                                                                |
| OptimismPortal<sup>2</sup>  | `TBD`                                                                                                |
🧰 Tools
🪛 GitHub Check: lint

[warning] 24-24:
Cell should be padded with 1 space, not 96


[warning] 25-25:
Cell should be padded with 1 space, not 96


[warning] 27-27:
Cell should be padded with 1 space, not 96


[warning] 28-28:
Cell should be padded with 1 space, not 96


[warning] 29-29:
Cell should be padded with 1 space, not 96


[warning] 30-30:
Cell should be padded with 1 space, not 96


36-42: Maintain consistent quote style in the table

Similar to Devnet 0, ensure consistent use of backticks for values.

| Network Name                | `TBA`                                                                                                |
| Chain ID                    | `TBA`                                                                                                |
| Currency Symbol<sup>1</sup> | ETH                                                                                                  |
-| Explorer                    | 'TBA'                                                                                                |
-| Public RPC URL              | 'TBA'                                                                                                |
-| Sequencer URL               | 'TBA'                                                                                                |
+| Explorer                    | `TBA`                                                                                                |
+| Public RPC URL              | `TBA`                                                                                                |
+| Sequencer URL               | `TBA`                                                                                                |
| OptimismPortal<sup>2</sup>  | `TBD`                                                                                                |
🧰 Tools
🪛 GitHub Check: lint

[warning] 36-36:
Cell should be padded with 1 space, not 96


[warning] 37-37:
Cell should be padded with 1 space, not 96


22-42: Fix table cell padding

The markdown tables have excessive padding (96 spaces) in cells. According to the linter, cells should be padded with 1 space.

Example format:

| Parameter | Value |
| --------- | ----- |
| Network Name | `TBA` |
🧰 Tools
🪛 GitHub Check: lint

[warning] 22-22:
Cell should be padded with 1 space, not 96


[warning] 24-24:
Cell should be padded with 1 space, not 96


[warning] 25-25:
Cell should be padded with 1 space, not 96


[warning] 27-27:
Cell should be padded with 1 space, not 96


[warning] 28-28:
Cell should be padded with 1 space, not 96


[warning] 29-29:
Cell should be padded with 1 space, not 96


[warning] 30-30:
Cell should be padded with 1 space, not 96


[warning] 34-34:
Cell should be padded with 1 space, not 96


[warning] 36-36:
Cell should be padded with 1 space, not 96


[warning] 37-37:
Cell should be padded with 1 space, not 96

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 20d51d2 and e60d19d.

📒 Files selected for processing (1)
  • pages/stack/interop/devnet.mdx (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
pages/stack/interop/devnet.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:
    1. Use sentence case, capitalizing only the first word.
    2. 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.
    3. 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.
    "
🪛 GitHub Check: lint
pages/stack/interop/devnet.mdx

[warning] 22-22:
Cell should be padded with 1 space, not 96


[warning] 24-24:
Cell should be padded with 1 space, not 96


[warning] 25-25:
Cell should be padded with 1 space, not 96


[warning] 27-27:
Cell should be padded with 1 space, not 96


[warning] 28-28:
Cell should be padded with 1 space, not 96


[warning] 29-29:
Cell should be padded with 1 space, not 96


[warning] 30-30:
Cell should be padded with 1 space, not 96


[warning] 34-34:
Cell should be padded with 1 space, not 96


[warning] 36-36:
Cell should be padded with 1 space, not 96


[warning] 37-37:
Cell should be padded with 1 space, not 96

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between e60d19d and 13a836e.

📒 Files selected for processing (2)
  • pages/stack/interop/devnet.mdx (2 hunks)
  • words.txt (7 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • pages/stack/interop/devnet.mdx
🧰 Additional context used
🪛 LanguageTool
words.txt

[duplication] ~154-~154: Möglicher Tippfehler: ein Wort wird wiederholt
Context: ...OREPRICE ignoreprice Immunefi implicity Inator inator INFLUXDBV influxdbv initcode interchain...

(GERMAN_WORD_REPEAT_RULE)


[duplication] ~156-~156: Möglicher Tippfehler: ein Wort wird wiederholt
Context: ...eprice Immunefi implicity Inator inator INFLUXDBV influxdbv initcode interchain IPCDISABLE ipcdisab...

(GERMAN_WORD_REPEAT_RULE)


[duplication] ~160-~160: Möglicher Tippfehler: ein Wort wird wiederholt
Context: ...INFLUXDBV influxdbv initcode interchain IPCDISABLE ipcdisable ipcfile IPCPATH ipcpath IPFS ipfs JALR ...

(GERMAN_WORD_REPEAT_RULE)

🔇 Additional comments (1)
words.txt (1)

Line range hint 1-407: Verify alignment with PR objectives.

The addition of terms like "Devnet" seems to contradict the PR's objective of removing devnet configurations. Please clarify if these terms should be retained in the dictionary despite the deprecation of devnet configs.

✅ Verification successful

Terms in dictionary are still relevant despite devnet deprecation

The terms "Devnet", "devnet", and "devnets" should be retained in the dictionary. While the specific interop devnet instances are being deprecated, the concept and terminology remain relevant for the project as:

  1. The documentation still references devnets as a development tool (make devnet-up, make devnet-down)
  2. Devnets continue to be used for testing network upgrades as shown in the node operators documentation
  3. New devnets are planned, as evidenced by "This page will be updated once the next Interop devnet is live"
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check for devnet-related terms in documentation
# Expected: No active references to devnet configuration if it's being deprecated

# Search for devnet-related content in documentation
rg -i 'devnet|interop.*net' --type md

Length of output: 39


Script:

#!/bin/bash
# Let's check for devnet-related configurations and code
rg -i "devnet" -A 3 -B 3

# Also check git history for context about devnet removal
git log -p --all-match --grep="devnet" -i

Length of output: 17515

🧰 Tools
🪛 LanguageTool

[duplication] ~150-~150: Möglicher Tippfehler: ein Wort wird wiederholt
Context: ...rpctimeout HOLESKY Holesky holesky IERC IGNOREPRICE ignoreprice Immunefi implicity Inator inator INFLUX...

(GERMAN_WORD_REPEAT_RULE)


[duplication] ~154-~154: Möglicher Tippfehler: ein Wort wird wiederholt
Context: ...OREPRICE ignoreprice Immunefi implicity Inator inator INFLUXDBV influxdbv initcode interchain...

(GERMAN_WORD_REPEAT_RULE)


[duplication] ~156-~156: Möglicher Tippfehler: ein Wort wird wiederholt
Context: ...eprice Immunefi implicity Inator inator INFLUXDBV influxdbv initcode interchain IPCDISABLE ipcdisab...

(GERMAN_WORD_REPEAT_RULE)


[duplication] ~160-~160: Möglicher Tippfehler: ein Wort wird wiederholt
Context: ...INFLUXDBV influxdbv initcode interchain IPCDISABLE ipcdisable ipcfile IPCPATH ipcpath IPFS ipfs JALR ...

(GERMAN_WORD_REPEAT_RULE)


[duplication] ~163-~163: Möglicher Tippfehler: ein Wort wird wiederholt
Context: ...nterchain IPCDISABLE ipcdisable ipcfile IPCPATH ipcpath IPFS ipfs JALR JOURNALREMOTES journalre...

(GERMAN_WORD_REPEAT_RULE)

words.txt Show resolved Hide resolved
@zainbacchus zainbacchus merged commit 72a4abc into main Nov 8, 2024
8 of 9 checks passed
@zainbacchus zainbacchus deleted the zainbacchus-patch-3 branch November 8, 2024 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants