Documentation
¶
Index ¶
- type BatcherParams
- type ChainConfig
- type ChallengerParams
- type EthereumNetworkParams
- type EthereumPackage
- type KurtosisParams
- type KurtosisVisitor
- func (v *KurtosisVisitor) BuildKurtosisParams(l2 *l2Visitor)
- func (v *KurtosisVisitor) GetParams() *KurtosisParams
- func (v *KurtosisVisitor) VisitL1() manifest.ChainVisitor
- func (v *KurtosisVisitor) VisitL2() manifest.L2Visitor
- func (v *KurtosisVisitor) VisitName(name string)
- func (v *KurtosisVisitor) VisitType(manifestType string)
- type NetworkParams
- type OpContractDeployerParams
- type OptimismPackage
- type Overrides
- type ParticipantConfig
- type ProposerParams
- type TimeOffsets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatcherParams ¶
type BatcherParams struct {
Image string `yaml:"image"`
}
BatcherParams represents batcher-specific parameters
type ChainConfig ¶
type ChainConfig struct {
Participants []ParticipantConfig `yaml:"participants"`
NetworkParams NetworkParams `yaml:"network_params"`
BatcherParams BatcherParams `yaml:"batcher_params"`
ChallengerParams ChallengerParams `yaml:"challenger_params"`
ProposerParams ProposerParams `yaml:"proposer_params"`
}
ChainConfig represents a single chain configuration
type ChallengerParams ¶
type ChallengerParams struct {
Image string `yaml:"image"`
CannonPrestatesURL string `yaml:"cannon_prestates_url,omitempty"`
}
ChallengerParams represents challenger-specific parameters
type EthereumNetworkParams ¶
type EthereumNetworkParams struct {
Preset string `yaml:"preset"`
GenesisDelay int `yaml:"genesis_delay"`
AdditionalPreloadedContracts string `yaml:"additional_preloaded_contracts"`
}
EthereumNetworkParams represents Ethereum network parameters
type EthereumPackage ¶
type EthereumPackage struct {
NetworkParams EthereumNetworkParams `yaml:"network_params"`
}
EthereumPackage represents Ethereum-specific configuration
type KurtosisParams ¶
type KurtosisParams struct {
OptimismPackage OptimismPackage `yaml:"optimism_package"`
EthereumPackage EthereumPackage `yaml:"ethereum_package"`
}
KurtosisParams represents the top-level Kurtosis configuration
type KurtosisVisitor ¶
type KurtosisVisitor struct {
// contains filtered or unexported fields
}
KurtosisVisitor implements the manifest.ManifestVisitor interface
func NewKurtosisVisitor ¶
func NewKurtosisVisitor() *KurtosisVisitor
NewKurtosisVisitor creates a new KurtosisVisitor
func (*KurtosisVisitor) BuildKurtosisParams ¶
func (v *KurtosisVisitor) BuildKurtosisParams(l2 *l2Visitor)
BuildKurtosisParams builds the final Kurtosis parameters from the collected visitor data
func (*KurtosisVisitor) GetParams ¶
func (v *KurtosisVisitor) GetParams() *KurtosisParams
GetParams returns the generated Kurtosis parameters
func (*KurtosisVisitor) VisitL1 ¶
func (v *KurtosisVisitor) VisitL1() manifest.ChainVisitor
func (*KurtosisVisitor) VisitL2 ¶
func (v *KurtosisVisitor) VisitL2() manifest.L2Visitor
func (*KurtosisVisitor) VisitName ¶
func (v *KurtosisVisitor) VisitName(name string)
func (*KurtosisVisitor) VisitType ¶
func (v *KurtosisVisitor) VisitType(manifestType string)
type NetworkParams ¶
type NetworkParams struct {
Network string `yaml:"network"`
NetworkID string `yaml:"network_id"`
SecondsPerSlot int `yaml:"seconds_per_slot"`
Name string `yaml:"name"`
FundDevAccounts bool `yaml:"fund_dev_accounts"`
TimeOffsets `yaml:",inline"`
}
NetworkParams represents network-specific parameters
type OpContractDeployerParams ¶
type OpContractDeployerParams struct {
Image string `yaml:"image"`
L1ArtifactsLocator string `yaml:"l1_artifacts_locator"`
L2ArtifactsLocator string `yaml:"l2_artifacts_locator"`
}
OpContractDeployerParams represents contract deployer parameters
type OptimismPackage ¶
type OptimismPackage struct {
Chains []ChainConfig `yaml:"chains"`
OpContractDeployerParams OpContractDeployerParams `yaml:"op_contract_deployer_params"`
Persistent bool `yaml:"persistent"`
}
OptimismPackage represents the Optimism-specific configuration
type Overrides ¶
type Overrides struct {
SecondsPerSlot int `yaml:"seconds_per_slot"`
TimeOffsets `yaml:",inline"`
}
Overrides represents deployment overrides
type ParticipantConfig ¶
type ParticipantConfig struct {
ElType string `yaml:"el_type"`
ElImage string `yaml:"el_image"`
ClType string `yaml:"cl_type"`
ClImage string `yaml:"cl_image"`
Count int `yaml:"count"`
}
ParticipantConfig represents a participant in the network
type ProposerParams ¶
type ProposerParams struct {
Image string `yaml:"image"`
GameType int `yaml:"game_type"`
ProposalInterval string `yaml:"proposal_interval"`
}
ProposerParams represents proposer-specific parameters
type TimeOffsets ¶
TimeOffsets represents a map of time offset values