superchain

package
v1.19.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2026 License: MIT, MIT Imports: 8 Imported by: 0

Documentation

Overview

Package superchain loads OP-Stack rollup configs and dependency sets from the superchain-registry. It is kept separate from op-node/rollup and op-core/interop/depset so that the many packages depending on those types do not pull in op-core/superchain, which embeds the multi-megabyte superchain config bundle and must generate it before it compiles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDependencySet added in v1.19.6

func LoadDependencySet(chainID eth.ChainID) (depset.DependencySet, error)

LoadDependencySet loads the dependency set containing the requested chain ID from the superchain-registry. Returns an error matching registry.ErrUnknownChain if the chain is not available in the superchain-registry.

func LoadOPStackRollupConfig

func LoadOPStackRollupConfig(chainID uint64) (*rollup.Config, error)

LoadOPStackRollupConfig loads the rollup configuration of the requested chain ID from the superchain-registry. Some chains may require a SystemConfigProvider to retrieve any values not part of the registry.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL