Skip to content

docs: document SDM operator opt-in flag and link Lagoon hardfork page - #22659

Draft
einar-oplabs wants to merge 1 commit into
developfrom
sdm-docs-revisit
Draft

docs: document SDM operator opt-in flag and link Lagoon hardfork page#22659
einar-oplabs wants to merge 1 commit into
developfrom
sdm-docs-revisit

Conversation

@einar-oplabs

Copy link
Copy Markdown
Contributor

Overview

Closes #21545 ("Revisit SDM operator docs"). The issue's two follow-up items from #21211 are resolved as follows.

1. Environment variables

#21360 was closed by #21551, which left op-reth as the sole carrier of the operator gate: --rollup.operator-sdm-opt-in with env binding OP_RETH_OPERATOR_SDM_OPT_IN (default false), hot-togglable via admin_setOperatorSdmOptIn and reported by admin_sdmStatus. op-rbuilder and rollup-boost have since been removed from the monorepo (#22222), so there are no other SDM operator options to env-bind.

  • All options supported via EVs: already true in code (env binding verified by test_operator_sdm_opt_in_is_bound_to_env_var in rust/op-reth/crates/node/src/args.rs); no code change needed.
  • All EVs documented: this PR adds the CLI flag and environment variable to the SDM chain-operator guide, which previously mentioned only the admin RPC.

2. Release-related documentation

The issue anticipated referencing an Upgrade 20 page. That page now exists (notices/upgrade-20.mdx) but turned out to be an L1 contract upgrade (Super Root Dispute Games) with no L2 hardfork — unrelated to SDM. SDM activation is gated by the Lagoon hardfork, which has its own registry page that already lists SDM under "What's included". This PR links the SDM guide's Lagoon mention to that page instead. No reverse link from the Lagoon page is added: the SDM guide is deliberately hidden: true (nav-allowlisted) until SDM ships.

Verification

  • lint:nav and lint:redirects pass.
  • Docs-only change; no new tests, behavior unchanged.
  • No review agents apply (no Go/Rust/CI/contract changes); general review skipped as the diff is two prose edits to one .mdx file.

🤖 Generated with Claude Code

The SDM chain-operator guide mentioned only the admin_setOperatorSdmOptIn
RPC. Document the --rollup.operator-sdm-opt-in CLI flag and the
OP_RETH_OPERATOR_SDM_OPT_IN environment variable that seed the opt-in
state at boot, and link the Lagoon hardfork mention to its registry page.

Closes #21545

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Optimism-Docs 🟢 Ready View Preview Aug 24, 2026, 9:28 PM

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.

Revisit SDM operator docs

1 participant