package boot
import preimage "github.com/ethereum-optimism/optimism/op-preimage"
const (
L1HeadLocalIndex preimage.LocalIndexKey = iota + 1
L2OutputRootLocalIndex
L2ClaimLocalIndex
L2ClaimBlockNumberLocalIndex
L2ChainIDLocalIndex
// These local keys are only used for custom chains
L2ChainConfigLocalIndex
RollupConfigLocalIndex
)
type oracleClient interface {
Get(key preimage.Key) []byte
}
-
Adrian Sutton authored
* op-program: Introduce L2Sources to combine info for multiple L2s. * op-program: Update the host config to support multiple L2s The CLI flags still only support a single L2. * op-program: Update interop bootstrap to load multiple chain configs
dd902048