testutil

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFetcher

type MockFetcher struct {
	BeaconState     iface.BeaconState
	BeaconStateRoot []byte
}

MockFetcher is a fake implementation of statefetcher.Fetcher.

func (*MockFetcher) State

State --

func (*MockFetcher) StateRoot added in v1.4.1

func (m *MockFetcher) StateRoot(context.Context, []byte) ([]byte, error)

StateRoot --

Jump to

Keyboard shortcuts

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