mocks

package
v4.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 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 NewOffchainT

type NewOffchainT interface {
	mock.TestingT
	Cleanup(func())
}

type Offchain

type Offchain struct {
	mock.Mock
}

Offchain is an autogenerated mock type for the Offchain type

func NewOffchain

func NewOffchain(t NewOffchainT) *Offchain

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

func (*Offchain) LocalStorageGet

func (_m *Offchain) LocalStorageGet(kind offchain.StorageKind, key []byte) (*types.StorageDataRaw, error)

LocalStorageGet provides a mock function with given fields: kind, key

func (*Offchain) LocalStorageSet

func (_m *Offchain) LocalStorageSet(kind offchain.StorageKind, key []byte, value []byte) error

LocalStorageSet provides a mock function with given fields: kind, key, value

Jump to

Keyboard shortcuts

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