Skip to content

opgeth-decoupling: create op-core/superchain (verbatim from op-geth) #20267

Closed

Description

@sebastianst

Part of #20259 → #20257. See plan §7 in the op-geth decoupling doc.

Scope

  • Copy op-geth's superchain/ package verbatim: superchain.go, chain.go, types.go, superchain-configs.zip, tests.
  • Copy sync-superchain.sh and superchain-registry-commit.txt from op-geth repo root into op-core/superchain/.
  • Absorb op-service/superutil/chain_config.go → LoadChainConfigFromChainID (renamed from LoadOPStackChainConfigFromChainID; return type switched to *opparams.ChainConfig once opgeth-decoupling: create op-core/params (OptimismConfig, ChainConfig, LoadChainConfig) #20260 lands).
  • Validate the embedded superchain-configs.zip decoder works with stock dependencies (BurntSushi/toml, klauspost/compress/zstd, stdlib).

🤖 Generated by Claude Code

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions