Documentation
¶
Index ¶
- Constants
- func WithBatcher(idx int, l2ID stack.L2NetworkID, id stack.L2BatcherID) stack.Option
- func WithChallenger(idx int, l2ID stack.L2NetworkID, id stack.L2ChallengerID) stack.Option
- func WithCluster(id stack.ClusterID) stack.Option
- func WithL1(id stack.L1NetworkID, nodes []DefaultSystemExtL1NodeIDs) stack.Option
- func WithL2(idx int, id stack.L2NetworkID, nodeIDs []DefaultSystemExtL2NodeIDs, ...) stack.Option
- func WithProposer(idx int, l2ID stack.L2NetworkID, id stack.L2ProposerID) stack.Option
- func WithSuperchain(id stack.SuperchainID) stack.Option
- func WithSupervisor(id stack.SupervisorID) stack.Option
- type DefaultSystemExtIDs
- type DefaultSystemExtL1NodeIDs
- type DefaultSystemExtL2IDs
- type DefaultSystemExtL2NodeIDs
- type Orchestrator
- type OrchestratorOption
Constants ¶
View Source
const ( ProtocolVersionsAddressName = "protocolVersionsProxy" SuperchainConfigAddressName = "superchainConfigProxy" SystemConfigAddressName = "systemConfigProxy" DisputeGameFactoryName = "disputeGameFactoryProxy" )
View Source
const ( ELServiceName = "el" CLServiceName = "cl" HTTPProtocol = "http" RPCProtocol = "rpc" MetricsProtocol = "metrics" FeatureInterop = "interop" )
Variables ¶
This section is empty.
Functions ¶
func WithBatcher ¶
func WithBatcher(idx int, l2ID stack.L2NetworkID, id stack.L2BatcherID) stack.Option
func WithChallenger ¶
func WithChallenger(idx int, l2ID stack.L2NetworkID, id stack.L2ChallengerID) stack.Option
func WithL1 ¶
func WithL1(id stack.L1NetworkID, nodes []DefaultSystemExtL1NodeIDs) stack.Option
func WithL2 ¶
func WithL2(idx int, id stack.L2NetworkID, nodeIDs []DefaultSystemExtL2NodeIDs, l1ID stack.L1NetworkID) stack.Option
func WithProposer ¶
func WithProposer(idx int, l2ID stack.L2NetworkID, id stack.L2ProposerID) stack.Option
func WithSuperchain ¶
func WithSuperchain(id stack.SuperchainID) stack.Option
func WithSupervisor ¶
func WithSupervisor(id stack.SupervisorID) stack.Option
Types ¶
type DefaultSystemExtIDs ¶
type DefaultSystemExtIDs struct {
L1 stack.L1NetworkID
Nodes []DefaultSystemExtL1NodeIDs
Superchain stack.SuperchainID
Cluster stack.ClusterID
Supervisor stack.SupervisorID
L2s []DefaultSystemExtL2IDs
}
func DefaultSystemExt ¶
func DefaultSystemExt(env *descriptors.DevnetEnvironment, opts ...OrchestratorOption) (DefaultSystemExtIDs, stack.Option)
type DefaultSystemExtL1NodeIDs ¶
type DefaultSystemExtL1NodeIDs struct {
EL stack.L1ELNodeID
CL stack.L1CLNodeID
}
type DefaultSystemExtL2IDs ¶
type DefaultSystemExtL2IDs struct {
L2 stack.L2NetworkID
Nodes []DefaultSystemExtL2NodeIDs
L2Batcher stack.L2BatcherID
L2Proposer stack.L2ProposerID
L2Challenger stack.L2ChallengerID
}
type DefaultSystemExtL2NodeIDs ¶
type DefaultSystemExtL2NodeIDs struct {
EL stack.L2ELNodeID
CL stack.L2CLNodeID
}
type Orchestrator ¶
type Orchestrator struct {
// contains filtered or unexported fields
}
func NewOrchestrator ¶
func NewOrchestrator(t stack.T, log log.Logger) *Orchestrator
func (*Orchestrator) Log ¶
func (o *Orchestrator) Log() log.Logger
func (*Orchestrator) T ¶
func (o *Orchestrator) T() stack.T
type OrchestratorOption ¶
type OrchestratorOption func(*Orchestrator)
func WithEagerRPCClients ¶
func WithEagerRPCClients() OrchestratorOption
func WithPrivatePorts ¶
func WithPrivatePorts() OrchestratorOption
Click to show internal directories.
Click to hide internal directories.