config

package
v0.0.0-...-531134c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EVMConfig

type EVMConfig struct {
	config.BaseNetworkConfig
	BeaconEndpoint        string  `required:"true" split_words:"true"`
	Router                string  `required:"true"`
	Spectre               string  `required:"true"`
	Spec                  string  `default:"mainnet"`
	MaxGasPrice           int64   `default:"500000000000" split_words:"true"`
	GasMultiplier         float64 `default:"1" split_words:"true"`
	GasIncreasePercentage int64   `default:"15" split_words:"true"`
	RetryInterval         uint64  `default:"12" split_words:"true"`
	CommitteePeriodLength uint64  `default:"256" split_words:"true"`
	StartingPeriod        uint64  `required:"true" split_words:"true"`
	ForcePeriod           bool    `default:"false" split_words:"true"`
}

func LoadEVMConfig

func LoadEVMConfig(domainID uint8) (*EVMConfig, error)

LoadEVMConfig loads EVM config from the environment and validates the fields

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL