mocks

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlockAPI added in v0.8.0

type MockBlockAPI struct {
	// contains filtered or unexported fields
}

MockBlockAPI is a mock of BlockAPI interface.

func NewMockBlockAPI added in v0.8.0

func NewMockBlockAPI(ctrl *gomock.Controller) *MockBlockAPI

NewMockBlockAPI creates a new mock instance.

func (*MockBlockAPI) BestBlockHash added in v0.8.0

func (m *MockBlockAPI) BestBlockHash() common.Hash

BestBlockHash mocks base method.

func (*MockBlockAPI) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBlockAPI) FreeFinalisedNotifierChannel added in v0.8.0

func (m *MockBlockAPI) FreeFinalisedNotifierChannel(arg0 chan *types.FinalisationInfo)

FreeFinalisedNotifierChannel mocks base method.

func (*MockBlockAPI) FreeImportedBlockNotifierChannel added in v0.8.0

func (m *MockBlockAPI) FreeImportedBlockNotifierChannel(arg0 chan *types.Block)

FreeImportedBlockNotifierChannel mocks base method.

func (*MockBlockAPI) GetBlockByHash added in v0.8.0

func (m *MockBlockAPI) GetBlockByHash(arg0 common.Hash) (*types.Block, error)

GetBlockByHash mocks base method.

func (*MockBlockAPI) GetFinalisedHash added in v0.8.0

func (m *MockBlockAPI) GetFinalisedHash(arg0, arg1 uint64) (common.Hash, error)

GetFinalisedHash mocks base method.

func (*MockBlockAPI) GetFinalisedNotifierChannel added in v0.8.0

func (m *MockBlockAPI) GetFinalisedNotifierChannel() chan *types.FinalisationInfo

GetFinalisedNotifierChannel mocks base method.

func (*MockBlockAPI) GetHashByNumber added in v0.8.0

func (m *MockBlockAPI) GetHashByNumber(arg0 uint) (common.Hash, error)

GetHashByNumber mocks base method.

func (*MockBlockAPI) GetHeader added in v0.8.0

func (m *MockBlockAPI) GetHeader(arg0 common.Hash) (*types.Header, error)

GetHeader mocks base method.

func (*MockBlockAPI) GetHighestFinalisedHash added in v0.8.0

func (m *MockBlockAPI) GetHighestFinalisedHash() (common.Hash, error)

GetHighestFinalisedHash mocks base method.

func (*MockBlockAPI) GetImportedBlockNotifierChannel added in v0.8.0

func (m *MockBlockAPI) GetImportedBlockNotifierChannel() chan *types.Block

GetImportedBlockNotifierChannel mocks base method.

func (*MockBlockAPI) GetJustification added in v0.8.0

func (m *MockBlockAPI) GetJustification(arg0 common.Hash) ([]byte, error)

GetJustification mocks base method.

func (*MockBlockAPI) GetRuntime added in v0.8.0

func (m *MockBlockAPI) GetRuntime(arg0 common.Hash) (runtime.Instance, error)

GetRuntime mocks base method.

func (*MockBlockAPI) HasJustification added in v0.8.0

func (m *MockBlockAPI) HasJustification(arg0 common.Hash) (bool, error)

HasJustification mocks base method.

func (*MockBlockAPI) RangeInMemory added in v0.8.0

func (m *MockBlockAPI) RangeInMemory(arg0, arg1 common.Hash) ([]common.Hash, error)

RangeInMemory mocks base method.

func (*MockBlockAPI) RegisterRuntimeUpdatedChannel added in v0.8.0

func (m *MockBlockAPI) RegisterRuntimeUpdatedChannel(arg0 chan<- runtime.Version) (uint32, error)

RegisterRuntimeUpdatedChannel mocks base method.

func (*MockBlockAPI) UnregisterRuntimeUpdatedChannel added in v0.8.0

func (m *MockBlockAPI) UnregisterRuntimeUpdatedChannel(arg0 uint32) bool

UnregisterRuntimeUpdatedChannel mocks base method.

type MockBlockAPIMockRecorder added in v0.8.0

type MockBlockAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockBlockAPIMockRecorder is the mock recorder for MockBlockAPI.

func (*MockBlockAPIMockRecorder) BestBlockHash added in v0.8.0

func (mr *MockBlockAPIMockRecorder) BestBlockHash() *gomock.Call

BestBlockHash indicates an expected call of BestBlockHash.

func (*MockBlockAPIMockRecorder) FreeFinalisedNotifierChannel added in v0.8.0

func (mr *MockBlockAPIMockRecorder) FreeFinalisedNotifierChannel(arg0 any) *gomock.Call

FreeFinalisedNotifierChannel indicates an expected call of FreeFinalisedNotifierChannel.

func (*MockBlockAPIMockRecorder) FreeImportedBlockNotifierChannel added in v0.8.0

func (mr *MockBlockAPIMockRecorder) FreeImportedBlockNotifierChannel(arg0 any) *gomock.Call

FreeImportedBlockNotifierChannel indicates an expected call of FreeImportedBlockNotifierChannel.

func (*MockBlockAPIMockRecorder) GetBlockByHash added in v0.8.0

func (mr *MockBlockAPIMockRecorder) GetBlockByHash(arg0 any) *gomock.Call

GetBlockByHash indicates an expected call of GetBlockByHash.

func (*MockBlockAPIMockRecorder) GetFinalisedHash added in v0.8.0

func (mr *MockBlockAPIMockRecorder) GetFinalisedHash(arg0, arg1 any) *gomock.Call

GetFinalisedHash indicates an expected call of GetFinalisedHash.

func (*MockBlockAPIMockRecorder) GetFinalisedNotifierChannel added in v0.8.0

func (mr *MockBlockAPIMockRecorder) GetFinalisedNotifierChannel() *gomock.Call

GetFinalisedNotifierChannel indicates an expected call of GetFinalisedNotifierChannel.

func (*MockBlockAPIMockRecorder) GetHashByNumber added in v0.8.0

func (mr *MockBlockAPIMockRecorder) GetHashByNumber(arg0 any) *gomock.Call

GetHashByNumber indicates an expected call of GetHashByNumber.

func (*MockBlockAPIMockRecorder) GetHeader added in v0.8.0

func (mr *MockBlockAPIMockRecorder) GetHeader(arg0 any) *gomock.Call

GetHeader indicates an expected call of GetHeader.

func (*MockBlockAPIMockRecorder) GetHighestFinalisedHash added in v0.8.0

func (mr *MockBlockAPIMockRecorder) GetHighestFinalisedHash() *gomock.Call

GetHighestFinalisedHash indicates an expected call of GetHighestFinalisedHash.

func (*MockBlockAPIMockRecorder) GetImportedBlockNotifierChannel added in v0.8.0

func (mr *MockBlockAPIMockRecorder) GetImportedBlockNotifierChannel() *gomock.Call

GetImportedBlockNotifierChannel indicates an expected call of GetImportedBlockNotifierChannel.

func (*MockBlockAPIMockRecorder) GetJustification added in v0.8.0

func (mr *MockBlockAPIMockRecorder) GetJustification(arg0 any) *gomock.Call

GetJustification indicates an expected call of GetJustification.

func (*MockBlockAPIMockRecorder) GetRuntime added in v0.8.0

func (mr *MockBlockAPIMockRecorder) GetRuntime(arg0 any) *gomock.Call

GetRuntime indicates an expected call of GetRuntime.

func (*MockBlockAPIMockRecorder) HasJustification added in v0.8.0

func (mr *MockBlockAPIMockRecorder) HasJustification(arg0 any) *gomock.Call

HasJustification indicates an expected call of HasJustification.

func (*MockBlockAPIMockRecorder) RangeInMemory added in v0.8.0

func (mr *MockBlockAPIMockRecorder) RangeInMemory(arg0, arg1 any) *gomock.Call

RangeInMemory indicates an expected call of RangeInMemory.

func (*MockBlockAPIMockRecorder) RegisterRuntimeUpdatedChannel added in v0.8.0

func (mr *MockBlockAPIMockRecorder) RegisterRuntimeUpdatedChannel(arg0 any) *gomock.Call

RegisterRuntimeUpdatedChannel indicates an expected call of RegisterRuntimeUpdatedChannel.

func (*MockBlockAPIMockRecorder) UnregisterRuntimeUpdatedChannel added in v0.8.0

func (mr *MockBlockAPIMockRecorder) UnregisterRuntimeUpdatedChannel(arg0 any) *gomock.Call

UnregisterRuntimeUpdatedChannel indicates an expected call of UnregisterRuntimeUpdatedChannel.

type MockBlockFinalityAPI added in v0.8.0

type MockBlockFinalityAPI struct {
	// contains filtered or unexported fields
}

MockBlockFinalityAPI is a mock of BlockFinalityAPI interface.

func NewMockBlockFinalityAPI added in v0.8.0

func NewMockBlockFinalityAPI(ctrl *gomock.Controller) *MockBlockFinalityAPI

NewMockBlockFinalityAPI creates a new mock instance.

func (*MockBlockFinalityAPI) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBlockFinalityAPI) GetRound added in v0.8.0

func (m *MockBlockFinalityAPI) GetRound() uint64

GetRound mocks base method.

func (*MockBlockFinalityAPI) GetSetID added in v0.8.0

func (m *MockBlockFinalityAPI) GetSetID() uint64

GetSetID mocks base method.

func (*MockBlockFinalityAPI) GetVoters added in v0.8.0

func (m *MockBlockFinalityAPI) GetVoters() types.GrandpaVoters

GetVoters mocks base method.

func (*MockBlockFinalityAPI) PreCommits added in v0.8.0

func (m *MockBlockFinalityAPI) PreCommits() []ed25519.PublicKeyBytes

PreCommits mocks base method.

func (*MockBlockFinalityAPI) PreVotes added in v0.8.0

PreVotes mocks base method.

type MockBlockFinalityAPIMockRecorder added in v0.8.0

type MockBlockFinalityAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockBlockFinalityAPIMockRecorder is the mock recorder for MockBlockFinalityAPI.

func (*MockBlockFinalityAPIMockRecorder) GetRound added in v0.8.0

GetRound indicates an expected call of GetRound.

func (*MockBlockFinalityAPIMockRecorder) GetSetID added in v0.8.0

GetSetID indicates an expected call of GetSetID.

func (*MockBlockFinalityAPIMockRecorder) GetVoters added in v0.8.0

func (mr *MockBlockFinalityAPIMockRecorder) GetVoters() *gomock.Call

GetVoters indicates an expected call of GetVoters.

func (*MockBlockFinalityAPIMockRecorder) PreCommits added in v0.8.0

func (mr *MockBlockFinalityAPIMockRecorder) PreCommits() *gomock.Call

PreCommits indicates an expected call of PreCommits.

func (*MockBlockFinalityAPIMockRecorder) PreVotes added in v0.8.0

PreVotes indicates an expected call of PreVotes.

type MockBlockProducerAPI added in v0.8.0

type MockBlockProducerAPI struct {
	// contains filtered or unexported fields
}

MockBlockProducerAPI is a mock of BlockProducerAPI interface.

func NewMockBlockProducerAPI added in v0.8.0

func NewMockBlockProducerAPI(ctrl *gomock.Controller) *MockBlockProducerAPI

NewMockBlockProducerAPI creates a new mock instance.

func (*MockBlockProducerAPI) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBlockProducerAPI) EpochLength added in v0.8.0

func (m *MockBlockProducerAPI) EpochLength() uint64

EpochLength mocks base method.

func (*MockBlockProducerAPI) Pause added in v0.8.0

func (m *MockBlockProducerAPI) Pause() error

Pause mocks base method.

func (*MockBlockProducerAPI) Resume added in v0.8.0

func (m *MockBlockProducerAPI) Resume() error

Resume mocks base method.

func (*MockBlockProducerAPI) SlotDuration added in v0.8.0

func (m *MockBlockProducerAPI) SlotDuration() uint64

SlotDuration mocks base method.

type MockBlockProducerAPIMockRecorder added in v0.8.0

type MockBlockProducerAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockBlockProducerAPIMockRecorder is the mock recorder for MockBlockProducerAPI.

func (*MockBlockProducerAPIMockRecorder) EpochLength added in v0.8.0

func (mr *MockBlockProducerAPIMockRecorder) EpochLength() *gomock.Call

EpochLength indicates an expected call of EpochLength.

func (*MockBlockProducerAPIMockRecorder) Pause added in v0.8.0

Pause indicates an expected call of Pause.

func (*MockBlockProducerAPIMockRecorder) Resume added in v0.8.0

Resume indicates an expected call of Resume.

func (*MockBlockProducerAPIMockRecorder) SlotDuration added in v0.8.0

func (mr *MockBlockProducerAPIMockRecorder) SlotDuration() *gomock.Call

SlotDuration indicates an expected call of SlotDuration.

type MockCoreAPI added in v0.8.0

type MockCoreAPI struct {
	// contains filtered or unexported fields
}

MockCoreAPI is a mock of CoreAPI interface.

func NewMockCoreAPI added in v0.8.0

func NewMockCoreAPI(ctrl *gomock.Controller) *MockCoreAPI

NewMockCoreAPI creates a new mock instance.

func (*MockCoreAPI) DecodeSessionKeys added in v0.8.0

func (m *MockCoreAPI) DecodeSessionKeys(arg0 []byte) ([]byte, error)

DecodeSessionKeys mocks base method.

func (*MockCoreAPI) EXPECT added in v0.8.0

func (m *MockCoreAPI) EXPECT() *MockCoreAPIMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCoreAPI) GetMetadata added in v0.8.0

func (m *MockCoreAPI) GetMetadata(arg0 *common.Hash) ([]byte, error)

GetMetadata mocks base method.

func (*MockCoreAPI) GetReadProofAt added in v0.8.0

func (m *MockCoreAPI) GetReadProofAt(arg0 common.Hash, arg1 [][]byte) (common.Hash, [][]byte, error)

GetReadProofAt mocks base method.

func (*MockCoreAPI) GetRuntimeVersion added in v0.8.0

func (m *MockCoreAPI) GetRuntimeVersion(arg0 *common.Hash) (runtime.Version, error)

GetRuntimeVersion mocks base method.

func (*MockCoreAPI) HandleSubmittedExtrinsic added in v0.8.0

func (m *MockCoreAPI) HandleSubmittedExtrinsic(arg0 types.Extrinsic) error

HandleSubmittedExtrinsic mocks base method.

func (*MockCoreAPI) HasKey added in v0.8.0

func (m *MockCoreAPI) HasKey(arg0, arg1 string) (bool, error)

HasKey mocks base method.

func (*MockCoreAPI) InsertKey added in v0.8.0

func (m *MockCoreAPI) InsertKey(arg0 core.KeyPair, arg1 string) error

InsertKey mocks base method.

type MockCoreAPIMockRecorder added in v0.8.0

type MockCoreAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockCoreAPIMockRecorder is the mock recorder for MockCoreAPI.

func (*MockCoreAPIMockRecorder) DecodeSessionKeys added in v0.8.0

func (mr *MockCoreAPIMockRecorder) DecodeSessionKeys(arg0 any) *gomock.Call

DecodeSessionKeys indicates an expected call of DecodeSessionKeys.

func (*MockCoreAPIMockRecorder) GetMetadata added in v0.8.0

func (mr *MockCoreAPIMockRecorder) GetMetadata(arg0 any) *gomock.Call

GetMetadata indicates an expected call of GetMetadata.

func (*MockCoreAPIMockRecorder) GetReadProofAt added in v0.8.0

func (mr *MockCoreAPIMockRecorder) GetReadProofAt(arg0, arg1 any) *gomock.Call

GetReadProofAt indicates an expected call of GetReadProofAt.

func (*MockCoreAPIMockRecorder) GetRuntimeVersion added in v0.8.0

func (mr *MockCoreAPIMockRecorder) GetRuntimeVersion(arg0 any) *gomock.Call

GetRuntimeVersion indicates an expected call of GetRuntimeVersion.

func (*MockCoreAPIMockRecorder) HandleSubmittedExtrinsic added in v0.8.0

func (mr *MockCoreAPIMockRecorder) HandleSubmittedExtrinsic(arg0 any) *gomock.Call

HandleSubmittedExtrinsic indicates an expected call of HandleSubmittedExtrinsic.

func (*MockCoreAPIMockRecorder) HasKey added in v0.8.0

func (mr *MockCoreAPIMockRecorder) HasKey(arg0, arg1 any) *gomock.Call

HasKey indicates an expected call of HasKey.

func (*MockCoreAPIMockRecorder) InsertKey added in v0.8.0

func (mr *MockCoreAPIMockRecorder) InsertKey(arg0, arg1 any) *gomock.Call

InsertKey indicates an expected call of InsertKey.

type MockNetworkAPI added in v0.8.0

type MockNetworkAPI struct {
	// contains filtered or unexported fields
}

MockNetworkAPI is a mock of NetworkAPI interface.

func NewMockNetworkAPI added in v0.8.0

func NewMockNetworkAPI(ctrl *gomock.Controller) *MockNetworkAPI

NewMockNetworkAPI creates a new mock instance.

func (*MockNetworkAPI) AddReservedPeers added in v0.8.0

func (m *MockNetworkAPI) AddReservedPeers(arg0 ...string) error

AddReservedPeers mocks base method.

func (*MockNetworkAPI) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNetworkAPI) Health added in v0.8.0

func (m *MockNetworkAPI) Health() common.Health

Health mocks base method.

func (*MockNetworkAPI) NetworkState added in v0.8.0

func (m *MockNetworkAPI) NetworkState() common.NetworkState

NetworkState mocks base method.

func (*MockNetworkAPI) NodeRoles added in v0.8.0

func (m *MockNetworkAPI) NodeRoles() common.NetworkRole

NodeRoles mocks base method.

func (*MockNetworkAPI) Peers added in v0.8.0

func (m *MockNetworkAPI) Peers() []common.PeerInfo

Peers mocks base method.

func (*MockNetworkAPI) RemoveReservedPeers added in v0.8.0

func (m *MockNetworkAPI) RemoveReservedPeers(arg0 ...string) error

RemoveReservedPeers mocks base method.

func (*MockNetworkAPI) Start added in v0.8.0

func (m *MockNetworkAPI) Start() error

Start mocks base method.

func (*MockNetworkAPI) StartingBlock added in v0.8.0

func (m *MockNetworkAPI) StartingBlock() int64

StartingBlock mocks base method.

func (*MockNetworkAPI) Stop added in v0.8.0

func (m *MockNetworkAPI) Stop() error

Stop mocks base method.

type MockNetworkAPIMockRecorder added in v0.8.0

type MockNetworkAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetworkAPIMockRecorder is the mock recorder for MockNetworkAPI.

func (*MockNetworkAPIMockRecorder) AddReservedPeers added in v0.8.0

func (mr *MockNetworkAPIMockRecorder) AddReservedPeers(arg0 ...any) *gomock.Call

AddReservedPeers indicates an expected call of AddReservedPeers.

func (*MockNetworkAPIMockRecorder) Health added in v0.8.0

func (mr *MockNetworkAPIMockRecorder) Health() *gomock.Call

Health indicates an expected call of Health.

func (*MockNetworkAPIMockRecorder) NetworkState added in v0.8.0

func (mr *MockNetworkAPIMockRecorder) NetworkState() *gomock.Call

NetworkState indicates an expected call of NetworkState.

func (*MockNetworkAPIMockRecorder) NodeRoles added in v0.8.0

func (mr *MockNetworkAPIMockRecorder) NodeRoles() *gomock.Call

NodeRoles indicates an expected call of NodeRoles.

func (*MockNetworkAPIMockRecorder) Peers added in v0.8.0

func (mr *MockNetworkAPIMockRecorder) Peers() *gomock.Call

Peers indicates an expected call of Peers.

func (*MockNetworkAPIMockRecorder) RemoveReservedPeers added in v0.8.0

func (mr *MockNetworkAPIMockRecorder) RemoveReservedPeers(arg0 ...any) *gomock.Call

RemoveReservedPeers indicates an expected call of RemoveReservedPeers.

func (*MockNetworkAPIMockRecorder) Start added in v0.8.0

func (mr *MockNetworkAPIMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockNetworkAPIMockRecorder) StartingBlock added in v0.8.0

func (mr *MockNetworkAPIMockRecorder) StartingBlock() *gomock.Call

StartingBlock indicates an expected call of StartingBlock.

func (*MockNetworkAPIMockRecorder) Stop added in v0.8.0

Stop indicates an expected call of Stop.

type MockRuntimeStorageAPI added in v0.8.0

type MockRuntimeStorageAPI struct {
	// contains filtered or unexported fields
}

MockRuntimeStorageAPI is a mock of RuntimeStorageAPI interface.

func NewMockRuntimeStorageAPI added in v0.8.0

func NewMockRuntimeStorageAPI(ctrl *gomock.Controller) *MockRuntimeStorageAPI

NewMockRuntimeStorageAPI creates a new mock instance.

func (*MockRuntimeStorageAPI) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRuntimeStorageAPI) GetLocal added in v0.8.0

func (m *MockRuntimeStorageAPI) GetLocal(arg0 []byte) ([]byte, error)

GetLocal mocks base method.

func (*MockRuntimeStorageAPI) GetPersistent added in v0.8.0

func (m *MockRuntimeStorageAPI) GetPersistent(arg0 []byte) ([]byte, error)

GetPersistent mocks base method.

func (*MockRuntimeStorageAPI) SetLocal added in v0.8.0

func (m *MockRuntimeStorageAPI) SetLocal(arg0, arg1 []byte) error

SetLocal mocks base method.

func (*MockRuntimeStorageAPI) SetPersistent added in v0.8.0

func (m *MockRuntimeStorageAPI) SetPersistent(arg0, arg1 []byte) error

SetPersistent mocks base method.

type MockRuntimeStorageAPIMockRecorder added in v0.8.0

type MockRuntimeStorageAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockRuntimeStorageAPIMockRecorder is the mock recorder for MockRuntimeStorageAPI.

func (*MockRuntimeStorageAPIMockRecorder) GetLocal added in v0.8.0

func (mr *MockRuntimeStorageAPIMockRecorder) GetLocal(arg0 any) *gomock.Call

GetLocal indicates an expected call of GetLocal.

func (*MockRuntimeStorageAPIMockRecorder) GetPersistent added in v0.8.0

func (mr *MockRuntimeStorageAPIMockRecorder) GetPersistent(arg0 any) *gomock.Call

GetPersistent indicates an expected call of GetPersistent.

func (*MockRuntimeStorageAPIMockRecorder) SetLocal added in v0.8.0

func (mr *MockRuntimeStorageAPIMockRecorder) SetLocal(arg0, arg1 any) *gomock.Call

SetLocal indicates an expected call of SetLocal.

func (*MockRuntimeStorageAPIMockRecorder) SetPersistent added in v0.8.0

func (mr *MockRuntimeStorageAPIMockRecorder) SetPersistent(arg0, arg1 any) *gomock.Call

SetPersistent indicates an expected call of SetPersistent.

type MockStorageAPI added in v0.8.0

type MockStorageAPI struct {
	// contains filtered or unexported fields
}

MockStorageAPI is a mock of StorageAPI interface.

func NewMockStorageAPI added in v0.8.0

func NewMockStorageAPI(ctrl *gomock.Controller) *MockStorageAPI

NewMockStorageAPI creates a new mock instance.

func (*MockStorageAPI) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStorageAPI) Entries added in v0.8.0

func (m *MockStorageAPI) Entries(arg0 *common.Hash) (map[string][]byte, error)

Entries mocks base method.

func (*MockStorageAPI) GetKeysWithPrefix added in v0.8.0

func (m *MockStorageAPI) GetKeysWithPrefix(arg0 *common.Hash, arg1 []byte) ([][]byte, error)

GetKeysWithPrefix mocks base method.

func (*MockStorageAPI) GetStateRootFromBlock added in v0.8.0

func (m *MockStorageAPI) GetStateRootFromBlock(arg0 *common.Hash) (*common.Hash, error)

GetStateRootFromBlock mocks base method.

func (*MockStorageAPI) GetStorage added in v0.8.0

func (m *MockStorageAPI) GetStorage(arg0 *common.Hash, arg1 []byte) ([]byte, error)

GetStorage mocks base method.

func (*MockStorageAPI) GetStorageByBlockHash added in v0.8.0

func (m *MockStorageAPI) GetStorageByBlockHash(arg0 *common.Hash, arg1 []byte) ([]byte, error)

GetStorageByBlockHash mocks base method.

func (*MockStorageAPI) GetStorageChild added in v0.8.0

func (m *MockStorageAPI) GetStorageChild(arg0 *common.Hash, arg1 []byte) (*trie.Trie, error)

GetStorageChild mocks base method.

func (*MockStorageAPI) GetStorageFromChild added in v0.8.0

func (m *MockStorageAPI) GetStorageFromChild(arg0 *common.Hash, arg1, arg2 []byte) ([]byte, error)

GetStorageFromChild mocks base method.

func (*MockStorageAPI) RegisterStorageObserver added in v0.8.0

func (m *MockStorageAPI) RegisterStorageObserver(arg0 state.Observer)

RegisterStorageObserver mocks base method.

func (*MockStorageAPI) UnregisterStorageObserver added in v0.8.0

func (m *MockStorageAPI) UnregisterStorageObserver(arg0 state.Observer)

UnregisterStorageObserver mocks base method.

type MockStorageAPIMockRecorder added in v0.8.0

type MockStorageAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockStorageAPIMockRecorder is the mock recorder for MockStorageAPI.

func (*MockStorageAPIMockRecorder) Entries added in v0.8.0

func (mr *MockStorageAPIMockRecorder) Entries(arg0 any) *gomock.Call

Entries indicates an expected call of Entries.

func (*MockStorageAPIMockRecorder) GetKeysWithPrefix added in v0.8.0

func (mr *MockStorageAPIMockRecorder) GetKeysWithPrefix(arg0, arg1 any) *gomock.Call

GetKeysWithPrefix indicates an expected call of GetKeysWithPrefix.

func (*MockStorageAPIMockRecorder) GetStateRootFromBlock added in v0.8.0

func (mr *MockStorageAPIMockRecorder) GetStateRootFromBlock(arg0 any) *gomock.Call

GetStateRootFromBlock indicates an expected call of GetStateRootFromBlock.

func (*MockStorageAPIMockRecorder) GetStorage added in v0.8.0

func (mr *MockStorageAPIMockRecorder) GetStorage(arg0, arg1 any) *gomock.Call

GetStorage indicates an expected call of GetStorage.

func (*MockStorageAPIMockRecorder) GetStorageByBlockHash added in v0.8.0

func (mr *MockStorageAPIMockRecorder) GetStorageByBlockHash(arg0, arg1 any) *gomock.Call

GetStorageByBlockHash indicates an expected call of GetStorageByBlockHash.

func (*MockStorageAPIMockRecorder) GetStorageChild added in v0.8.0

func (mr *MockStorageAPIMockRecorder) GetStorageChild(arg0, arg1 any) *gomock.Call

GetStorageChild indicates an expected call of GetStorageChild.

func (*MockStorageAPIMockRecorder) GetStorageFromChild added in v0.8.0

func (mr *MockStorageAPIMockRecorder) GetStorageFromChild(arg0, arg1, arg2 any) *gomock.Call

GetStorageFromChild indicates an expected call of GetStorageFromChild.

func (*MockStorageAPIMockRecorder) RegisterStorageObserver added in v0.8.0

func (mr *MockStorageAPIMockRecorder) RegisterStorageObserver(arg0 any) *gomock.Call

RegisterStorageObserver indicates an expected call of RegisterStorageObserver.

func (*MockStorageAPIMockRecorder) UnregisterStorageObserver added in v0.8.0

func (mr *MockStorageAPIMockRecorder) UnregisterStorageObserver(arg0 any) *gomock.Call

UnregisterStorageObserver indicates an expected call of UnregisterStorageObserver.

type MockSyncStateAPI added in v0.8.0

type MockSyncStateAPI struct {
	// contains filtered or unexported fields
}

MockSyncStateAPI is a mock of SyncStateAPI interface.

func NewMockSyncStateAPI added in v0.8.0

func NewMockSyncStateAPI(ctrl *gomock.Controller) *MockSyncStateAPI

NewMockSyncStateAPI creates a new mock instance.

func (*MockSyncStateAPI) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSyncStateAPI) GenSyncSpec added in v0.8.0

func (m *MockSyncStateAPI) GenSyncSpec(arg0 bool) (*genesis.Genesis, error)

GenSyncSpec mocks base method.

type MockSyncStateAPIMockRecorder added in v0.8.0

type MockSyncStateAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockSyncStateAPIMockRecorder is the mock recorder for MockSyncStateAPI.

func (*MockSyncStateAPIMockRecorder) GenSyncSpec added in v0.8.0

func (mr *MockSyncStateAPIMockRecorder) GenSyncSpec(arg0 any) *gomock.Call

GenSyncSpec indicates an expected call of GenSyncSpec.

type MockSystemAPI added in v0.8.0

type MockSystemAPI struct {
	// contains filtered or unexported fields
}

MockSystemAPI is a mock of SystemAPI interface.

func NewMockSystemAPI added in v0.8.0

func NewMockSystemAPI(ctrl *gomock.Controller) *MockSystemAPI

NewMockSystemAPI creates a new mock instance.

func (*MockSystemAPI) ChainName added in v0.8.0

func (m *MockSystemAPI) ChainName() string

ChainName mocks base method.

func (*MockSystemAPI) ChainType added in v0.8.0

func (m *MockSystemAPI) ChainType() string

ChainType mocks base method.

func (*MockSystemAPI) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSystemAPI) Properties added in v0.8.0

func (m *MockSystemAPI) Properties() map[string]any

Properties mocks base method.

func (*MockSystemAPI) SystemName added in v0.8.0

func (m *MockSystemAPI) SystemName() string

SystemName mocks base method.

func (*MockSystemAPI) SystemVersion added in v0.8.0

func (m *MockSystemAPI) SystemVersion() string

SystemVersion mocks base method.

type MockSystemAPIMockRecorder added in v0.8.0

type MockSystemAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockSystemAPIMockRecorder is the mock recorder for MockSystemAPI.

func (*MockSystemAPIMockRecorder) ChainName added in v0.8.0

func (mr *MockSystemAPIMockRecorder) ChainName() *gomock.Call

ChainName indicates an expected call of ChainName.

func (*MockSystemAPIMockRecorder) ChainType added in v0.8.0

func (mr *MockSystemAPIMockRecorder) ChainType() *gomock.Call

ChainType indicates an expected call of ChainType.

func (*MockSystemAPIMockRecorder) Properties added in v0.8.0

func (mr *MockSystemAPIMockRecorder) Properties() *gomock.Call

Properties indicates an expected call of Properties.

func (*MockSystemAPIMockRecorder) SystemName added in v0.8.0

func (mr *MockSystemAPIMockRecorder) SystemName() *gomock.Call

SystemName indicates an expected call of SystemName.

func (*MockSystemAPIMockRecorder) SystemVersion added in v0.8.0

func (mr *MockSystemAPIMockRecorder) SystemVersion() *gomock.Call

SystemVersion indicates an expected call of SystemVersion.

type MockTransactionStateAPI added in v0.8.0

type MockTransactionStateAPI struct {
	// contains filtered or unexported fields
}

MockTransactionStateAPI is a mock of TransactionStateAPI interface.

func NewMockTransactionStateAPI added in v0.8.0

func NewMockTransactionStateAPI(ctrl *gomock.Controller) *MockTransactionStateAPI

NewMockTransactionStateAPI creates a new mock instance.

func (*MockTransactionStateAPI) EXPECT added in v0.8.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTransactionStateAPI) Pending added in v0.8.0

Pending mocks base method.

type MockTransactionStateAPIMockRecorder added in v0.8.0

type MockTransactionStateAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockTransactionStateAPIMockRecorder is the mock recorder for MockTransactionStateAPI.

func (*MockTransactionStateAPIMockRecorder) Pending added in v0.8.0

Pending indicates an expected call of Pending.

Jump to

Keyboard shortcuts

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