You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
opgeth-decoupling: wire op-core/superchain across the monorepo (decouple from op-geth superchain) #21485
Sub-issue of #20271. Implements the superchain slice of the op-core decoupling (see §6–§7 of the op-geth decoupling doc): make the monorepo use the in-repo op-core/superchain package only, so no Go code imports github.com/ethereum/go-ethereum/superchain.
After this lands, op-geth's bundled superchain-registry is no longer synced or consumed by the monorepo, so the op-geth cross-check is removed (not kept as transition scaffolding).
op-chain-ops: interopgen/config/registry_config.go; cmd/check-prestate/{main.go, registry/loader.go, prestate/kona.go} — the op-geth HTTP sync-superchain.shscript fetch stays (it builds bundles for arbitrary SR commits, which the submodule-based op-core script can't)
op-core/superchain/init.go: drop the op-geth cross-commit check (the last in-package importer); rename VerifyEmbeddedCommit → VerifyEmbeddedBundle (SHA256-only).
op-core/params/load_test.go: replace TestGethChainConfigMatchesOpGeth (differential vs op-geth) with a self-contained TestGethChainConfigMapping.
Build wiring (supersedes the sync-superchain note in #20271)
op-node and ~13 other binaries now embed superchain-configs.zip at compile time. Rather than auditing every just recipe and Dockerfile individually, the zip is regenerated inside the shared op-stack-go Docker builder stage (ops/docker/op-stack-go/Dockerfile) from the superchain-registry submodule data (un-ignored into the build context), git-free, and verified against the committed .sha256. To enable that, op-core/superchain/sync-superchain.sh is reworked: git-free REPO_ROOT, dual default(verify)/refresh modes, and the bundle no longer embeds the SR commit (so it's reproducible from data alone — no commit to thread into Docker). justfile (build-go prereq, refresh-mode bump) and CircleCI prep-superchain (refresh mode) are updated to match.
Out of scope
The other slices of #20271 — eip1559 and fees — are unaffected and tracked separately.
Activity