Versions in this module Expand all Collapse all v0 v0.0.5 Feb 29, 2024 v0.0.4 Feb 28, 2024 Changes in this version + const DefaultValues + const FlagAmount + const FlagCfg + const FlagComponents + const FlagCustomNetwork + const FlagDocumentationFileType + const FlagHTTPAPI + const FlagKeyStorePath + const FlagMaxAmount + const FlagMigrations + const FlagNetwork + const FlagOutputFile + const FlagPassword + const FlagRemoteMT + const FlagYes + func LoadGenesisFileAsString(cfgPath string) (string, error) + type Config struct + Aggregator aggregator.Config + EthTxManager ethtxmanager.Config + Etherman etherman.Config + EventLog event.Config + Executor executor.Config + ForkUpgradeBatchNumber uint64 + ForkUpgradeNewForkId uint64 + HashDB db.Config + IsTrustedSequencer bool + L2GasPriceSuggester gasprice.Config + Log log.Config + MTClient merkletree.Config + Metrics metrics.Config + NetworkConfig NetworkConfig + Pool pool.Config + RPC jsonrpc.Config + SequenceSender sequencesender.Config + Sequencer sequencer.Config + State state.Config + Synchronizer synchronizer.Config + func Default() (*Config, error) + func Load(ctx *cli.Context, loadNetworkConfig bool) (*Config, error) + type ConfigJsonSchemaGenerater struct + func NewNetworkConfigJsonSchemaGenerater() ConfigJsonSchemaGenerater[GenesisFromJSON] + func NewNodeConfigJsonSchemaGenerater() ConfigJsonSchemaGenerater[Config] + func (s ConfigJsonSchemaGenerater[T]) GenerateJsonSchema(cli *cli.Context) (*jsonschema.Schema, error) + func (s ConfigJsonSchemaGenerater[T]) GenerateJsonSchemaAndWriteToFile(cli *cli.Context, output_filename string) error + func (s ConfigJsonSchemaGenerater[T]) SerializeJsonSchema(schema *jsonschema.Schema) ([]byte, error) + type GenesisFromJSON struct + Genesis []genesisAccountFromJSON + GenesisBlockNum uint64 + L1Config etherman.L1Config + Root string + type NetworkConfig struct + Genesis state.Genesis + L1Config etherman.L1Config + L2BridgeAddr common.Address + L2GlobalExitRootManagerAddr common.Address + func LoadGenesisFromJSONString(jsonStr string) (NetworkConfig, error)