superchain

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT, MIT Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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/bundle, 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