Versions in this module Expand all Collapse all v0 v0.7.0 Jun 7, 2023 v0.6.0 Jun 6, 2023 Changes in this version + var ErrFetcherAndProviderMismatchedState = errors.New("the fetcher and provider have diverged in finalized state") + type EthClient interface + BlockHeadersByRange func(*big.Int, *big.Int) ([]*types.Header, error) + FinalizedBlockHeight func() (*big.Int, error) + RawRpcClient func() *rpc.Client + func NewEthClient(rpcUrl string) (EthClient, error) + type Fetcher struct + func NewFetcher(ethClient EthClient, fromHeader *types.Header) (*Fetcher, error) + func (f *Fetcher) NextFinalizedHeaders() ([]*types.Header, error) Other modules containing this package github.com/ethereum-optimism/optimism