Documentation
¶
Index ¶
- func NewCluster(cfg ClusterConfig) stack.Cluster
- func NewConductor(cfg ConductorConfig) stack.Conductor
- func NewFaucet(cfg FaucetConfig) stack.Faucet
- func NewFlashblocksBuilderNode(cfg FlashblocksBuilderNodeConfig) stack.FlashblocksBuilderNode
- func NewFlashblocksWebsocketProxy(cfg FlashblocksWebsocketProxyConfig) stack.FlashblocksWebsocketProxy
- func NewKeyring(keys devkeys.Keys, req *testreq.Assertions) stack.Keys
- func NewL1CLNode(cfg L1CLNodeConfig) stack.L1CLNode
- func NewL1ELNode(cfg L1ELNodeConfig) stack.L1ELNode
- func NewL1Network(cfg L1NetworkConfig) stack.ExtensibleL1Network
- func NewL2Batcher(cfg L2BatcherConfig) stack.L2Batcher
- func NewL2CLNode(cfg L2CLNodeConfig) stack.L2CLNode
- func NewL2Challenger(cfg L2ChallengerConfig) stack.L2Challenger
- func NewL2ELNode(cfg L2ELNodeConfig) stack.L2ELNode
- func NewL2Network(cfg L2NetworkConfig) stack.ExtensibleL2Network
- func NewL2Proposer(cfg L2ProposerConfig) stack.L2Proposer
- func NewSuperchain(cfg SuperchainConfig) stack.Superchain
- func NewSupervisor(cfg SupervisorConfig) stack.Supervisor
- func NewSystem(t devtest.T) stack.ExtensibleSystem
- func NewTestSequencer(cfg TestSequencerConfig) stack.TestSequencer
- type ClusterConfig
- type CommonConfig
- type ConductorConfig
- type ELNodeConfig
- type FaucetConfig
- type FlashblocksBuilderNodeConfig
- type FlashblocksWebsocketProxyConfig
- type L1CLNodeConfig
- type L1ELNodeConfig
- type L1NetworkConfig
- type L2BatcherConfig
- type L2CLNodeConfig
- type L2ChallengerConfig
- type L2ELNodeConfig
- type L2NetworkConfig
- type L2ProposerConfig
- type NetworkConfig
- type SuperchainConfig
- type SupervisorConfig
- type SystemConfig
- type TestSequencerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCluster ¶
func NewCluster(cfg ClusterConfig) stack.Cluster
func NewConductor ¶ added in v1.13.4
func NewConductor(cfg ConductorConfig) stack.Conductor
func NewFaucet ¶
func NewFaucet(cfg FaucetConfig) stack.Faucet
func NewFlashblocksBuilderNode ¶ added in v1.13.4
func NewFlashblocksBuilderNode(cfg FlashblocksBuilderNodeConfig) stack.FlashblocksBuilderNode
func NewFlashblocksWebsocketProxy ¶ added in v1.13.5
func NewFlashblocksWebsocketProxy(cfg FlashblocksWebsocketProxyConfig) stack.FlashblocksWebsocketProxy
func NewKeyring ¶
func NewL1CLNode ¶
func NewL1CLNode(cfg L1CLNodeConfig) stack.L1CLNode
func NewL1ELNode ¶
func NewL1ELNode(cfg L1ELNodeConfig) stack.L1ELNode
func NewL1Network ¶
func NewL1Network(cfg L1NetworkConfig) stack.ExtensibleL1Network
func NewL2Batcher ¶
func NewL2Batcher(cfg L2BatcherConfig) stack.L2Batcher
func NewL2CLNode ¶
func NewL2CLNode(cfg L2CLNodeConfig) stack.L2CLNode
func NewL2Challenger ¶
func NewL2Challenger(cfg L2ChallengerConfig) stack.L2Challenger
func NewL2ELNode ¶
func NewL2ELNode(cfg L2ELNodeConfig) stack.L2ELNode
func NewL2Network ¶
func NewL2Network(cfg L2NetworkConfig) stack.ExtensibleL2Network
func NewL2Proposer ¶
func NewL2Proposer(cfg L2ProposerConfig) stack.L2Proposer
func NewSuperchain ¶
func NewSuperchain(cfg SuperchainConfig) stack.Superchain
func NewSupervisor ¶
func NewSupervisor(cfg SupervisorConfig) stack.Supervisor
func NewSystem ¶
func NewSystem(t devtest.T) stack.ExtensibleSystem
NewSystem creates a new empty System
func NewTestSequencer ¶ added in v1.13.4
func NewTestSequencer(cfg TestSequencerConfig) stack.TestSequencer
Types ¶
type ClusterConfig ¶
type ClusterConfig struct {
CommonConfig
DependencySet depset.DependencySet
ID stack.ClusterID
}
ClusterConfig is the config to create a default cluster object
type CommonConfig ¶
CommonConfig provides common inputs for creating a new component
func NewCommonConfig ¶
func NewCommonConfig(t devtest.T) CommonConfig
NewCommonConfig is a convenience method to build the config common between all components. Note that component constructors will decorate the test-scope with contextual metadata, the caller of the component constructor can generally leave the test-context as-is.
type ConductorConfig ¶ added in v1.13.4
type ConductorConfig struct {
CommonConfig
ID stack.ConductorID
Client *rpc.Client
}
type ELNodeConfig ¶
type FaucetConfig ¶
type FaucetConfig struct {
CommonConfig
ID stack.FaucetID
Client client.RPC
}
type FlashblocksBuilderNodeConfig ¶ added in v1.13.4
type FlashblocksBuilderNodeConfig struct {
ELNodeConfig
ID stack.FlashblocksBuilderID
Conductor stack.Conductor
FlashblocksWsUrl string
}
type FlashblocksWebsocketProxyConfig ¶ added in v1.13.5
type FlashblocksWebsocketProxyConfig struct {
CommonConfig
ID stack.FlashblocksWebsocketProxyID
WsUrl string
}
type L1CLNodeConfig ¶
type L1CLNodeConfig struct {
CommonConfig
ID stack.L1CLNodeID
Client client.HTTP
}
type L1ELNodeConfig ¶
type L1ELNodeConfig struct {
ELNodeConfig
ID stack.L1ELNodeID
}
type L1NetworkConfig ¶
type L1NetworkConfig struct {
NetworkConfig
ID stack.L1NetworkID
}
type L2BatcherConfig ¶
type L2BatcherConfig struct {
CommonConfig
ID stack.L2BatcherID
Client client.RPC
}
type L2CLNodeConfig ¶
type L2CLNodeConfig struct {
CommonConfig
ID stack.L2CLNodeID
Client client.RPC
InteropEndpoint string
InteropJwtSecret eth.Bytes32
}
type L2ChallengerConfig ¶
type L2ChallengerConfig struct {
CommonConfig
ID stack.L2ChallengerID
}
type L2ELNodeConfig ¶
type L2ELNodeConfig struct {
ELNodeConfig
RollupCfg *rollup.Config
ID stack.L2ELNodeID
}
type L2NetworkConfig ¶
type L2NetworkConfig struct {
NetworkConfig
ID stack.L2NetworkID
RollupConfig *rollup.Config
Deployment stack.L2Deployment
Keys stack.Keys
Superchain stack.Superchain
L1 stack.L1Network
Cluster stack.Cluster
}
type L2ProposerConfig ¶
type L2ProposerConfig struct {
CommonConfig
ID stack.L2ProposerID
Client client.RPC
}
type NetworkConfig ¶
type NetworkConfig struct {
CommonConfig
ChainConfig *params.ChainConfig
}
type SuperchainConfig ¶
type SuperchainConfig struct {
CommonConfig
ID stack.SuperchainID
Deployment stack.SuperchainDeployment
}
type SupervisorConfig ¶
type SupervisorConfig struct {
CommonConfig
ID stack.SupervisorID
Client client.RPC
}
type SystemConfig ¶
type SystemConfig struct {
CommonConfig
}
SystemConfig sets up a System. It is intentionally very minimal, the system is expected to be extended after creation, using Option functions
type TestSequencerConfig ¶ added in v1.13.4
type TestSequencerConfig struct {
CommonConfig
ID stack.TestSequencerID
Client client.RPC
ControlClients map[eth.ChainID]client.RPC
}
Click to show internal directories.
Click to hide internal directories.