Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrChainIDEmpty is returned when chain is required but was empty. ErrChainIDEmpty = errors.New("chain id empty") ErrNotFound = errors.New("not found") )
View Source
var ( ErrLOOPPUnsupported = errors.New("LOOPP not yet supported") ErrChainDisabled = errors.New("chain is disabled") )
View Source
var ErrNoSuchChainID = errors.New("chain id does not exist")
Functions ¶
This section is empty.
Types ¶
type ChainConfigs ¶
type ChainOpts ¶ added in v2.6.0
type ChainOpts[I ID, N Node] interface { Validate() error ConfigsAndLogger() (Configs[I, N], logger.Logger) }
ChainOpts holds options for configuring a Chain
type ChainsKV ¶ added in v2.5.0
type ChainsKV[T types.ChainService] struct { // contains filtered or unexported fields }
func NewChainsKV ¶ added in v2.5.0
func NewChainsKV[T types.ChainService](cs map[string]T) *ChainsKV[T]
func (*ChainsKV[T]) Get ¶ added in v2.5.0
Get return ErrNoSuchChainID if [id] is not found
type Configs ¶
type Configs[I ID, N Node] interface { ChainConfigs NodeConfigs[I, N] }
Configs holds chain and node configurations. TODO: BCF-2605 audit the usage of this interface and potentially remove it
type ID ¶
type ID any
ID types represent unique identifiers within a particular chain type. Using string is recommended.
Directories ¶
Path | Synopsis |
---|---|
client
The simulated backend cannot access old blocks and will return an error if anything other than `latest`, `nil`, or the latest block are passed to `CallContract`.
|
The simulated backend cannot access old blocks and will return an error if anything other than `latest`, `nil`, or the latest block are passed to `CallContract`. |
gas/cmd/arbgas
arbgas takes a single URL argument and prints the result of three GetLegacyGas calls to the Arbitrum gas estimator.
|
arbgas takes a single URL argument and prints the result of three GetLegacyGas calls to the Arbitrum gas estimator. |
logpoller
Package logpoller is a service for querying EVM log data.
|
Package logpoller is a service for querying EVM log data. |
Click to show internal directories.
Click to hide internal directories.