Documentation ¶
Index ¶
- func DeployAltDA(env *Env, intent *state.Intent, st *state.State, chainID common.Hash) error
- func DeployImplementations(env *Env, intent *state.Intent, st *state.State) error
- func DeployOPChain(env *Env, intent *state.Intent, st *state.State, chainID common.Hash) error
- func DeploySuperchain(env *Env, intent *state.Intent, st *state.State) error
- func GenerateL2Genesis(pEnv *Env, intent *state.Intent, bundle ArtifactsBundle, st *state.State, ...) error
- func InitGenesisStrategy(env *Env, intent *state.Intent, st *state.State) error
- func InitLiveStrategy(ctx context.Context, env *Env, intent *state.Intent, st *state.State) error
- func IsSupportedStateVersion(version int) bool
- func ReadIntent(workdir string) (*state.Intent, error)
- func ReadState(workdir string) (*state.State, error)
- func SetStartBlockGenesisStrategy(env *Env, st *state.State, chainID common.Hash) error
- func SetStartBlockLiveStrategy(ctx context.Context, env *Env, st *state.State, chainID common.Hash) error
- func WriteState(workdir string, st *state.State) error
- type ArtifactsBundle
- type ChainProofParams
- type Env
- type Stage
- type StateWriter
- type SuperchainProofParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployAltDA ¶
func DeployImplementations ¶
func DeployOPChain ¶ added in v1.10.0
func DeploySuperchain ¶
func GenerateL2Genesis ¶
func InitGenesisStrategy ¶
func InitLiveStrategy ¶
func IsSupportedStateVersion ¶
Types ¶
type ChainProofParams ¶
type ChainProofParams struct { DisputeGameType uint32 `json:"disputeGameType" toml:"disputeGameType"` DisputeAbsolutePrestate common.Hash `json:"disputeAbsolutePrestate" toml:"disputeAbsolutePrestate"` DisputeMaxGameDepth uint64 `json:"disputeMaxGameDepth" toml:"disputeMaxGameDepth"` DisputeSplitDepth uint64 `json:"disputeSplitDepth" toml:"disputeSplitDepth"` DisputeClockExtension uint64 `json:"disputeClockExtension" toml:"disputeClockExtension"` DisputeMaxClockDuration uint64 `json:"disputeMaxClockDuration" toml:"disputeMaxClockDuration"` DangerouslyAllowCustomDisputeParameters bool `json:"dangerouslyAllowCustomDisputeParameters" toml:"dangerouslyAllowCustomDisputeParameters"` }
type Env ¶
type Env struct { StateWriter StateWriter L1ScriptHost *script.Host L1Client *ethclient.Client Broadcaster broadcaster.Broadcaster Deployer common.Address Logger log.Logger }
type StateWriter ¶
func NoopStateWriter ¶
func NoopStateWriter() StateWriter
func WorkdirStateWriter ¶
func WorkdirStateWriter(workdir string) StateWriter
type SuperchainProofParams ¶
type SuperchainProofParams struct { WithdrawalDelaySeconds uint64 `json:"withdrawalDelaySeconds" toml:"withdrawalDelaySeconds"` MinProposalSizeBytes uint64 `json:"minProposalSizeBytes" toml:"minProposalSizeBytes"` ChallengePeriodSeconds uint64 `json:"challengePeriodSeconds" toml:"challengePeriodSeconds"` ProofMaturityDelaySeconds uint64 `json:"proofMaturityDelaySeconds" toml:"proofMaturityDelaySeconds"` DisputeGameFinalityDelaySeconds uint64 `json:"disputeGameFinalityDelaySeconds" toml:"disputeGameFinalityDelaySeconds"` MIPSVersion uint64 `json:"mipsVersion" toml:"mipsVersion"` }
Click to show internal directories.
Click to hide internal directories.