mocks

package
v0.38.0-dev Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 NewBlockStore added in v0.34.20

func NewBlockStore(t mockConstructorTestingTNewBlockStore) *BlockStore

NewBlockStore creates a new instance of BlockStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*BlockStore) Height added in v0.34.9

func (_m *BlockStore) Height() int64

Height provides a mock function with given fields:

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

Jump to

Keyboard shortcuts

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