config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 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 `split_words:"true"`
	Router                string
	Spectre               string
	Yaho                  string
	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"`
	FinalityThreshold     uint64  `default:"342" split_words:"true"`
	SlotsPerEpoch         uint64  `default:"32" split_words:"true"`
	TargetDomains         []int16 `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