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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockInterface

type BlockInterface struct {
	mock.Mock
}

BlockInterface is an autogenerated mock type for the BlockInterface type

func (*BlockInterface) BodyHash

func (_m *BlockInterface) BodyHash() common.Hash

BodyHash provides a mock function with given fields:

func (*BlockInterface) CommitteeFromBlock

func (_m *BlockInterface) CommitteeFromBlock() common.Hash

CommitteeFromBlock provides a mock function with given fields:

func (*BlockInterface) FullHashString

func (_m *BlockInterface) FullHashString() string

func (*BlockInterface) GetAggregateRootHash

func (_m *BlockInterface) GetAggregateRootHash() common.Hash

GetAggregateRootHash provides a mock function with given fields:

func (*BlockInterface) GetBeaconHeight

func (_m *BlockInterface) GetBeaconHeight() uint64

func (*BlockInterface) GetConsensusType

func (_m *BlockInterface) GetConsensusType() string

GetConsensusType provides a mock function with given fields:

func (*BlockInterface) GetCurrentEpoch

func (_m *BlockInterface) GetCurrentEpoch() uint64

GetCurrentEpoch provides a mock function with given fields:

func (*BlockInterface) GetFinalityHeight

func (_m *BlockInterface) GetFinalityHeight() uint64

GetFinalityHeight provides a mock function with given fields:

func (*BlockInterface) GetHeight

func (_m *BlockInterface) GetHeight() uint64

GetHeight provides a mock function with given fields:

func (*BlockInterface) GetInstructions

func (_m *BlockInterface) GetInstructions() [][]string

GetInstructions provides a mock function with given fields:

func (*BlockInterface) GetPrevHash

func (_m *BlockInterface) GetPrevHash() common.Hash

GetPrevHash provides a mock function with given fields:

func (*BlockInterface) GetProduceTime

func (_m *BlockInterface) GetProduceTime() int64

GetProduceTime provides a mock function with given fields:

func (*BlockInterface) GetProducer

func (_m *BlockInterface) GetProducer() string

GetProducer provides a mock function with given fields:

func (*BlockInterface) GetProposeTime

func (_m *BlockInterface) GetProposeTime() int64

GetProposeTime provides a mock function with given fields:

func (*BlockInterface) GetProposer

func (_m *BlockInterface) GetProposer() string

GetProposer provides a mock function with given fields:

func (*BlockInterface) GetRound

func (_m *BlockInterface) GetRound() int

GetRound provides a mock function with given fields:

func (*BlockInterface) GetRoundKey

func (_m *BlockInterface) GetRoundKey() string

GetRoundKey provides a mock function with given fields:

func (*BlockInterface) GetShardID

func (_m *BlockInterface) GetShardID() int

GetShardID provides a mock function with given fields:

func (*BlockInterface) GetValidationField

func (_m *BlockInterface) GetValidationField() string

GetValidationField provides a mock function with given fields:

func (*BlockInterface) GetVersion

func (_m *BlockInterface) GetVersion() int

GetVersion provides a mock function with given fields:

func (*BlockInterface) Hash

func (_m *BlockInterface) Hash() *common.Hash

Hash provides a mock function with given fields:

func (*BlockInterface) ProposeHash

func (_m *BlockInterface) ProposeHash() *common.Hash

func (*BlockInterface) Type

func (_m *BlockInterface) Type() string

Type 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