mocks

package
v0.35.0-dev Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: Apache-2.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 BlockStore

type BlockStore struct {
	mock.Mock
}

BlockStore is an autogenerated mock type for the BlockStore type

func (*BlockStore) LoadBlockCommit

func (_m *BlockStore) LoadBlockCommit(height int64) *types.Commit

LoadBlockCommit provides a mock function with given fields: height

func (*BlockStore) LoadBlockMeta

func (_m *BlockStore) LoadBlockMeta(height int64) *types.BlockMeta

LoadBlockMeta provides a mock function with given fields: height

type StateStore

type StateStore struct {
	mock.Mock
}

StateStore is an autogenerated mock type for the StateStore type

func (*StateStore) LoadState

func (_m *StateStore) LoadState() state.State

LoadState provides a mock function with given fields:

func (*StateStore) LoadValidators

func (_m *StateStore) LoadValidators(height int64) (*types.ValidatorSet, error)

LoadValidators provides a mock function with given fields: height

Jump to

Keyboard shortcuts

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