mocks

package
Version: v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateProvider

type StateProvider struct {
	mock.Mock
}

StateProvider is an autogenerated mock type for the StateProvider type

func (*StateProvider) AppHash

func (_m *StateProvider) AppHash(ctx context.Context, height uint64) ([]byte, error)

AppHash provides a mock function with given fields: ctx, height

func (*StateProvider) Commit

func (_m *StateProvider) Commit(ctx context.Context, height uint64) (*types.Commit, error)

Commit provides a mock function with given fields: ctx, height

func (*StateProvider) State

func (_m *StateProvider) State(ctx context.Context, height uint64) (state.State, error)

State provides a mock function with given fields: ctx, height

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL