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 ¶
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.