Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructChainConfig ¶
func ConstructChainConfig( inputFilePath, genesisPath, chainName, publicRPC, sequencerRPC, explorer string, superchainLevel superchain.SuperchainLevel, standardChainCandidate bool, ) (superchain.ChainConfig, error)
ConstructChainConfig creates and populates a ChainConfig struct by reading from an input file and explicitly setting some additional fields to input argument values
func GetL1RpcUrl ¶
func WriteChainConfigTOML ¶
func WriteChainConfigTOML(rollupConfig superchain.ChainConfig, targetDirectory string) error
WriteChainConfigTPOML accepts a rollupConfig, formats it, and writes a single output toml file which includes the following:
- general chain info/config
- contract and role addresses
- genesis system config
- optional feature config info, if activated (e.g. altDA)
Types ¶
type LegacyPlasma ¶
type LegacyPlasma struct { DAChallengeAddress *superchain.Address `json:"da_challenge_address"` DAChallengeContractAddress *superchain.Address `json:"da_challenge_contract_address"` DACommitmentType *string `json:"da_commitment_type"` DAChallengeWindow *uint64 `json:"da_challenge_window"` DAResolveWindow *uint64 `json:"da_resolve_window"` UsePlasma *bool `json:"use_plasma"` PlasmaConfig *interface{} `json:"plasma_config"` }
func (*LegacyPlasma) CheckNonNilFields ¶
func (lp *LegacyPlasma) CheckNonNilFields() error
Click to show internal directories.
Click to hide internal directories.