mocks

package
v0.0.0-...-7ece11e Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type View

type View struct {
	mock.Mock
}

View is an autogenerated mock type for the View type

func (*View) CommitteeStateVersion

func (_m *View) CommitteeStateVersion() int

CommitteeStateVersion provides a mock function with given fields:

func (*View) GetBeaconHeight

func (_m *View) GetBeaconHeight() uint64

GetBeaconHeight provides a mock function with given fields:

func (*View) GetBlock

func (_m *View) GetBlock() types.BlockInterface

GetBlock provides a mock function with given fields:

func (*View) GetCommittee

func (_m *View) GetCommittee() []incognitokey.CommitteePublicKey

GetCommittee provides a mock function with given fields:

func (*View) GetHash

func (_m *View) GetHash() *common.Hash

GetHash provides a mock function with given fields:

func (*View) GetHeight

func (_m *View) GetHeight() uint64

GetHeight provides a mock function with given fields:

func (*View) GetPreviousBlockCommittee

func (_m *View) GetPreviousBlockCommittee(db incdb.Database) ([]incognitokey.CommitteePublicKey, error)

GetPreviousBlockCommittee provides a mock function with given fields: db

func (*View) GetPreviousHash

func (_m *View) GetPreviousHash() *common.Hash

GetPreviousHash provides a mock function with given fields:

func (*View) GetProposerByTimeSlot

func (_m *View) GetProposerByTimeSlot(ts int64, version int) (incognitokey.CommitteePublicKey, int)

GetProposerByTimeSlot provides a mock function with given fields: ts, version

func (*View) GetProposerLength

func (_m *View) GetProposerLength() int

GetProposerLength provides a mock function with given fields:

Jump to

Keyboard shortcuts

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