Skip to content

Conversation

@Wazabie
Copy link
Contributor

@Wazabie Wazabie commented Jul 16, 2025

Minor fix on the deploy_config.json for the 1.3 to 1.8 upgrade

@Wazabie Wazabie requested a review from a team as a code owner July 16, 2025 08:45
@Wazabie Wazabie requested a review from Copilot July 16, 2025 08:45
@netlify
Copy link

netlify bot commented Jul 16, 2025

Deploy Preview for docs-optimism ready!

Name Link
🔨 Latest commit 2307d76
🔍 Latest deploy log https://app.netlify.com/projects/docs-optimism/deploys/6877790f4ca260000804e178
😎 Deploy Preview https://deploy-preview-1692--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 project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the documentation for upgrading OP contracts from version 1.3 to 1.8, specifically clarifying the configuration instructions for the deploy_config.json file.

  • Updates guidance comments to clarify that default values should be used unless different values are expected
  • Adds instruction to contact OP Labs support for clarification when non-default values are needed

@Wazabie Wazabie requested review from bradleycamacho and krofax July 16, 2025 08:46
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 16, 2025

📝 Walkthrough

Walkthrough

The documentation was updated to clarify instructions about adding configuration values during the upgrade of OP contracts. A new note was added after the Holocene upgrade overview, informing users that after upgrading to OP Stack contracts v1.8.0 with permissioned fault proofs enabled, all pending (unfinalized) withdrawal proofs on L1 become invalidated, requiring manual reproving of withdrawals. The guidance now instructs users to add the provided default values and to contact OP Labs support if they expect different values for their chain, instead of simply adding missing values and verifying correctness themselves. No changes were made to configuration keys, values, or code.

Possibly related PRs

  • Draft U16 notice page #1618: Adds a detailed notice about withdrawal proof invalidation and reproving requirements after upgrading to OP Stack contracts v1.8.0, closely related to the new note in this update.
  • adding op-contracts/v1.8.0 #1444: Introduces a new documentation section for the op-contracts v1.8.0 release and changelog, addressing the same contract version but focusing on different documentation aspects.
  • Sb/u13 notice page #1519: Introduces a notice page for Upgrade 13 covering OPCM and incident response improvements, including a warning about withdrawal proof invalidation, related to upgrade user guidance.

Suggested reviewers

  • Wazabie

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.

❤️ 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.
    • Explain this complex logic.
    • 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 explain this code block.
    • @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 explain its main purpose.
    • @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.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

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 generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this 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

🧹 Nitpick comments (2)
pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (2)

102-102: Refine phrasing & punctuation for readability

The sentence is a run-on and mixes lowercase with an imperative instruction. Consider splitting it and adding the missing comma after “chain” for clearer guidance.

- add the below default values, if you expect different values for your chain reach out to OP Labs support for clarification before proceeding
+ Add the following default values. If you expect different values for your chain, reach out to OP Labs support before proceeding.

113-113: Apply consistent imperative style here as well

Same stylistic issue as above—break the idea into two sentences and insert the comma after “chain”.

- add the below default values, if you expect different values for your chain reach out to OP Labs support for clarification before proceeding  
+ Add the following default values. If you expect different values for your chain, reach out to OP Labs support before proceeding.  
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5660366 and 4d757b7.

📒 Files selected for processing (1)
  • pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.mdx

Instructions used from:

Sources:
⚙️ CodeRabbit Configuration File

🧠 Learnings (2)
📓 Common learnings
Learnt from: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2024-06-10T19:38:04.907Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
Learnt from: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2024-10-13T07:16:50.980Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1216
File: pages/stack/interop/security.mdx:136-144
Timestamp: 2025-01-08T11:04:45.361Z
Learning: In the ethereum-optimism/docs repository, sections that are commented out in documentation files are intentionally excluded due to accuracy concerns and should not be suggested for inclusion until the information becomes accurate.
Learnt from: sbvegan
PR: ethereum-optimism/docs#1001
File: pages/builders.mdx:11-12
Timestamp: 2024-10-22T02:58:02.175Z
Learning: Prefer using 'OP Stack' over 'OP Mainnet' in documentation for consistency.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1525
File: pages/stack/interop/tutorials/upgrade-to-superchain-erc20.mdx:500-503
Timestamp: 2025-04-03T01:38:08.988Z
Learning: Private keys in the "Upgrading ERC20 to SuperchainERC20" tutorial document are test/demo keys intentionally included for educational purposes and do not represent security concerns.
pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (4)
Learnt from: sbvegan
PR: ethereum-optimism/docs#1001
File: pages/builders.mdx:11-12
Timestamp: 2024-10-22T02:58:02.175Z
Learning: Prefer using 'OP Stack' over 'OP Mainnet' in documentation for consistency.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1216
File: pages/stack/interop/security.mdx:136-144
Timestamp: 2025-01-08T11:04:45.361Z
Learning: In the ethereum-optimism/docs repository, sections that are commented out in documentation files are intentionally excluded due to accuracy concerns and should not be suggested for inclusion until the information becomes accurate.
Learnt from: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2024-06-10T19:38:04.907Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
Learnt from: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2024-10-13T07:16:50.980Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
⏰ 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). (3)
  • GitHub Check: Redirect rules - docs-optimism
  • GitHub Check: Header rules - docs-optimism
  • GitHub Check: Pages changed - docs-optimism

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

♻️ Duplicate comments (2)
pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (2)

104-111: Bullet wording & punctuation need polish

Previous feedback about the missing comma still applies. Additionally, capitalize the imperative verb and avoid personal pronouns for consistency with the style guide.

- - add the below default values, if you expect different values for your chain reach out to OP Labs support for clarification before proceeding
+ - Add the default values below. If different values are expected for the chain, contact OP Labs support for clarification before proceeding.

115-118: Duplicate issue: apply same fix to the second bullet

Mirror the wording update made above for consistency.

- - add the below default values, if you expect different values for your chain reach out to OP Labs support for clarification before proceeding  
+ - Add the default values below. If different values are expected for the chain, contact OP Labs support for clarification before proceeding.  
🧹 Nitpick comments (1)
pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (1)

30-31: Grammar and clarity: replace “reproven” & tighten wording

Small wording tweak improves correctness and flow.

-After upgrading to OP Stack contracts v1.8.0 and enabling permissioned fault proofs, all pending (unfinalized) withdrawal proofs created on L1 are invalidated. This means that withdrawals must be manually reproven by users after the upgrade; the process is not automatic.
+After upgrading to OP Stack contracts v1.8.0 and enabling permissioned fault proofs, all pending (unfinalized) withdrawal proofs on L1 become invalid. Users must manually re-prove these withdrawals after the upgrade; the reproving process is not automatic.
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4d757b7 and dd536d6.

📒 Files selected for processing (1)
  • pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (3 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.mdx

Instructions used from:

Sources:
⚙️ CodeRabbit Configuration File

🧠 Learnings (2)
📓 Common learnings
Learnt from: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2024-06-10T19:38:04.907Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
Learnt from: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2024-10-13T07:16:50.980Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1216
File: pages/stack/interop/security.mdx:136-144
Timestamp: 2025-01-08T11:04:45.361Z
Learning: In the ethereum-optimism/docs repository, sections that are commented out in documentation files are intentionally excluded due to accuracy concerns and should not be suggested for inclusion until the information becomes accurate.
Learnt from: sbvegan
PR: ethereum-optimism/docs#1001
File: pages/builders.mdx:11-12
Timestamp: 2024-10-22T02:58:02.175Z
Learning: Prefer using 'OP Stack' over 'OP Mainnet' in documentation for consistency.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1613
File: public/tutorials/attest.mjs:64-71
Timestamp: 2025-05-24T18:24:46.628Z
Learning: For tutorial and educational code in the ethereum-optimism/docs repository, prioritize simplicity and clarity over production-level robustness. Hardcoded values and simplified error handling are acceptable when they help demonstrate core concepts without unnecessary complexity.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1525
File: pages/stack/interop/tutorials/upgrade-to-superchain-erc20.mdx:500-503
Timestamp: 2025-04-03T01:38:08.988Z
Learning: Private keys in the "Upgrading ERC20 to SuperchainERC20" tutorial document are test/demo keys intentionally included for educational purposes and do not represent security concerns.
pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (3)
Learnt from: sbvegan
PR: ethereum-optimism/docs#1001
File: pages/builders.mdx:11-12
Timestamp: 2024-10-22T02:58:02.175Z
Learning: Prefer using 'OP Stack' over 'OP Mainnet' in documentation for consistency.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1216
File: pages/stack/interop/security.mdx:136-144
Timestamp: 2025-01-08T11:04:45.361Z
Learning: In the ethereum-optimism/docs repository, sections that are commented out in documentation files are intentionally excluded due to accuracy concerns and should not be suggested for inclusion until the information becomes accurate.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1613
File: public/tutorials/attest.mjs:64-71
Timestamp: 2025-05-24T18:24:46.628Z
Learning: For tutorial and educational code in the ethereum-optimism/docs repository, prioritize simplicity and clarity over production-level robustness. Hardcoded values and simplified error handling are acceptable when they help demonstrate core concepts without unnecessary complexity.
🪛 LanguageTool
pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx

[grammar] ~30-~30: Ensure spelling is correct
Context: ...means that withdrawals must be manually reproven by users after the upgrade; the process...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_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). (3)
  • GitHub Check: Redirect rules - docs-optimism
  • GitHub Check: Header rules - docs-optimism
  • GitHub Check: Pages changed - docs-optimism

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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 comments (1)
pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (1)

104-115: Comment lines inside a json block break JSON validity & need punctuation fixes

The bullet comments (- …) placed inside the ```json code fence render the example invalid JSON and will trip up users who copy-paste the snippet.
At the same time, both comment lines are run-on sentences lacking the Oxford comma and proper capitalization.

Proposed fix:

-  - add the below default values, if you expect different values for your chain reach out to OP Labs support for clarification before proceeding
+  // Add the following default values. If you expect different values for your chain, contact OP Labs support for clarification before proceeding.

 ...

-  - add the below default values, if you expect different values for your chain, reach out to OP Labs support for clarification before proceeding  
+  // Add the following default values. If you expect different values for your chain, contact OP Labs support for clarification before proceeding.

• Switch to a // comment (widely accepted in doc snippets) or move the guidance outside the fenced block.
• Start with “Add”, use “following”, capitalize “OP Labs”, and split into two sentences for readability.
• Removes duplicated trailing spaces.

Failure to address this will cause syntax errors for users and lower trust in the docs.

🧹 Nitpick comments (1)
pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (1)

30-30: Refine sentence structure and verb choice for clarity

“Manually reproven” is uncommon and the semicolon makes the sentence feel heavy. Consider the more readable variant below:

-After upgrading to OP Stack contracts v1.8.0 and enabling permissioned fault proofs, all pending (unfinalized) withdrawal proofs created on L1 are invalidated. This means that withdrawals must be manually reproven by users after the upgrade; the process is not automatic.
+After upgrading to OP Stack contracts v1.8.0 with permissioned fault proofs enabled, all pending (unfinalized) withdrawal proofs created on L1 become invalid. Users must manually re-prove their withdrawals after the upgrade; this process is not automatic.
📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between dd536d6 and 2307d76.

📒 Files selected for processing (1)
  • pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (3 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.mdx

Instructions used from:

Sources:
⚙️ CodeRabbit Configuration File

🧠 Learnings (2)
📓 Common learnings
Learnt from: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2024-06-10T19:38:04.907Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
Learnt from: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2024-10-13T07:16:50.980Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1216
File: pages/stack/interop/security.mdx:136-144
Timestamp: 2025-01-08T11:04:45.361Z
Learning: In the ethereum-optimism/docs repository, sections that are commented out in documentation files are intentionally excluded due to accuracy concerns and should not be suggested for inclusion until the information becomes accurate.
Learnt from: sbvegan
PR: ethereum-optimism/docs#1001
File: pages/builders.mdx:11-12
Timestamp: 2024-10-22T02:58:02.175Z
Learning: Prefer using 'OP Stack' over 'OP Mainnet' in documentation for consistency.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1613
File: public/tutorials/attest.mjs:64-71
Timestamp: 2025-05-24T18:24:46.628Z
Learning: For tutorial and educational code in the ethereum-optimism/docs repository, prioritize simplicity and clarity over production-level robustness. Hardcoded values and simplified error handling are acceptable when they help demonstrate core concepts without unnecessary complexity.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1525
File: pages/stack/interop/tutorials/upgrade-to-superchain-erc20.mdx:500-503
Timestamp: 2025-04-03T01:38:08.988Z
Learning: Private keys in the "Upgrading ERC20 to SuperchainERC20" tutorial document are test/demo keys intentionally included for educational purposes and do not represent security concerns.
pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx (4)
Learnt from: sbvegan
PR: ethereum-optimism/docs#1001
File: pages/builders.mdx:11-12
Timestamp: 2024-10-22T02:58:02.175Z
Learning: Prefer using 'OP Stack' over 'OP Mainnet' in documentation for consistency.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1216
File: pages/stack/interop/security.mdx:136-144
Timestamp: 2025-01-08T11:04:45.361Z
Learning: In the ethereum-optimism/docs repository, sections that are commented out in documentation files are intentionally excluded due to accuracy concerns and should not be suggested for inclusion until the information becomes accurate.
Learnt from: smartcontracts
PR: ethereum-optimism/docs#241
File: public/tutorials/standard-bridge-standard-token.sh:3-6
Timestamp: 2024-06-10T19:38:04.907Z
Learning: User `smartcontracts` has requested that `.mdx` files always be reviewed according to the instructions in the `.yaml` configuration file. This preference should be remembered for future interactions.
Learnt from: qbzzt
PR: ethereum-optimism/docs#1613
File: public/tutorials/attest.mjs:64-71
Timestamp: 2025-05-24T18:24:46.628Z
Learning: For tutorial and educational code in the ethereum-optimism/docs repository, prioritize simplicity and clarity over production-level robustness. Hardcoded values and simplified error handling are acceptable when they help demonstrate core concepts without unnecessary complexity.
🪛 LanguageTool
pages/stack/smart-contracts/upgrade-op-contracts-1-3-1-8.mdx

[grammar] ~30-~30: Ensure spelling is correct.
Context: ...means that withdrawals must be manually reproven by users after the upgrade; the process...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_000051)

⏰ 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). (3)
  • GitHub Check: Redirect rules - docs-optimism
  • GitHub Check: Header rules - docs-optimism
  • GitHub Check: Pages changed - docs-optimism

@krofax krofax merged commit 22cf54f into main Jul 16, 2025
12 checks passed
@krofax krofax deleted the minor-fix-1.3-to-1.8-upgrade branch July 16, 2025 10:06
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.

3 participants