testdb

package
v1.9.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMockKVStore

func NewMockKVStore(ctrl *gomock.Controller) db.KVStore

NewMockKVStore returns a in memory KVStore.

func NewMockStateManager

func NewMockStateManager(ctrl *gomock.Controller) *mock_chainmanager.MockStateManager

NewMockStateManager returns a in memory StateManager.

func NewMockStateManagerWithoutHeightFunc added in v1.9.0

func NewMockStateManagerWithoutHeightFunc(ctrl *gomock.Controller) *mock_chainmanager.MockStateManager

NewMockStateManagerWithoutHeightFunc returns a in memory StateManager without default height function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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