Help us shape the future of Go! Take the 2026 Go Developer Survey

blockmock

package
v1.16.15 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package blockmock is a generated GoMock package.

Package blockmock is a generated GoMock package.

Package blockmock is a generated GoMock package.

Package blockmock is a generated GoMock package.

Package blockmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildBlockWithContextChainVM added in v0.15.6

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

BuildBlockWithContextChainVM is a mock of BuildBlockWithContextChainVM interface.

func NewBuildBlockWithContextChainVM added in v0.15.6

func NewBuildBlockWithContextChainVM(ctrl *gomock.Controller) *BuildBlockWithContextChainVM

NewBuildBlockWithContextChainVM creates a new mock instance.

func (*BuildBlockWithContextChainVM) BuildBlockWithContext added in v0.15.6

func (m *BuildBlockWithContextChainVM) BuildBlockWithContext(ctx context.Context, blockCtx *block.Context) (chain.Block, error)

BuildBlockWithContext mocks base method.

func (*BuildBlockWithContextChainVM) EXPECT added in v0.15.6

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

type BuildBlockWithContextChainVMMockRecorder added in v0.15.6

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

BuildBlockWithContextChainVMMockRecorder is the mock recorder for BuildBlockWithContextChainVM.

func (*BuildBlockWithContextChainVMMockRecorder) BuildBlockWithContext added in v0.15.6

func (mr *BuildBlockWithContextChainVMMockRecorder) BuildBlockWithContext(ctx, blockCtx any) *gomock.Call

BuildBlockWithContext indicates an expected call of BuildBlockWithContext.

type ChainVM added in v0.15.6

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

ChainVM is a mock of ChainVM interface.

func NewChainVM added in v0.15.6

func NewChainVM(ctrl *gomock.Controller) *ChainVM

NewChainVM creates a new mock instance.

func (*ChainVM) AppGossip added in v0.15.6

func (m *ChainVM) AppGossip(ctx context.Context, nodeID ids.NodeID, msg []byte) error

AppGossip mocks base method.

func (*ChainVM) AppRequest added in v0.15.6

func (m *ChainVM) AppRequest(ctx context.Context, nodeID ids.NodeID, requestID uint32, deadline time.Time, request []byte) error

AppRequest mocks base method.

func (*ChainVM) AppRequestFailed added in v0.15.6

func (m *ChainVM) AppRequestFailed(ctx context.Context, nodeID ids.NodeID, requestID uint32, appErr *core.AppError) error

AppRequestFailed mocks base method.

func (*ChainVM) AppResponse added in v0.15.6

func (m *ChainVM) AppResponse(ctx context.Context, nodeID ids.NodeID, requestID uint32, response []byte) error

AppResponse mocks base method.

func (*ChainVM) BuildBlock added in v0.15.6

func (m *ChainVM) BuildBlock(arg0 context.Context) (chain.Block, error)

BuildBlock mocks base method.

func (*ChainVM) Connected added in v0.15.6

func (m *ChainVM) Connected(ctx context.Context, nodeID ids.NodeID, nodeVersion *version.Application) error

Connected mocks base method.

func (*ChainVM) CreateHandlers added in v0.15.6

func (m *ChainVM) CreateHandlers(arg0 context.Context) (map[string]http.Handler, error)

CreateHandlers mocks base method.

func (*ChainVM) Disconnected added in v0.15.6

func (m *ChainVM) Disconnected(ctx context.Context, nodeID ids.NodeID) error

Disconnected mocks base method.

func (*ChainVM) EXPECT added in v0.15.6

func (m *ChainVM) EXPECT() *ChainVMMockRecorder

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

func (*ChainVM) GetBlock added in v0.15.6

func (m *ChainVM) GetBlock(ctx context.Context, blkID ids.ID) (chain.Block, error)

GetBlock mocks base method.

func (*ChainVM) GetBlockIDAtHeight added in v0.15.6

func (m *ChainVM) GetBlockIDAtHeight(ctx context.Context, height uint64) (ids.ID, error)

GetBlockIDAtHeight mocks base method.

func (*ChainVM) HealthCheck added in v0.15.6

func (m *ChainVM) HealthCheck(arg0 context.Context) (any, error)

HealthCheck mocks base method.

func (*ChainVM) Initialize added in v0.15.6

func (m *ChainVM) Initialize(ctx context.Context, chainCtx *consensus.Context, db database.Database, genesisBytes, upgradeBytes, configBytes []byte, fxs []*core.Fx, appSender core.AppSender) error

Initialize mocks base method.

func (*ChainVM) LastAccepted added in v0.15.6

func (m *ChainVM) LastAccepted(arg0 context.Context) (ids.ID, error)

LastAccepted mocks base method.

func (*ChainVM) NewHTTPHandler added in v0.15.6

func (m *ChainVM) NewHTTPHandler(ctx context.Context) (http.Handler, error)

NewHTTPHandler mocks base method.

func (*ChainVM) ParseBlock added in v0.15.6

func (m *ChainVM) ParseBlock(ctx context.Context, blockBytes []byte) (chain.Block, error)

ParseBlock mocks base method.

func (*ChainVM) SetPreference added in v0.15.6

func (m *ChainVM) SetPreference(ctx context.Context, blkID ids.ID) error

SetPreference mocks base method.

func (*ChainVM) SetState added in v0.15.6

func (m *ChainVM) SetState(ctx context.Context, state consensus.State) error

SetState mocks base method.

func (*ChainVM) Shutdown added in v0.15.6

func (m *ChainVM) Shutdown(arg0 context.Context) error

Shutdown mocks base method.

func (*ChainVM) Version added in v0.15.6

func (m *ChainVM) Version(arg0 context.Context) (string, error)

Version mocks base method.

func (*ChainVM) WaitForEvent added in v0.15.6

func (m *ChainVM) WaitForEvent(ctx context.Context) (core.Message, error)

WaitForEvent mocks base method.

type ChainVMMockRecorder added in v0.15.6

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

ChainVMMockRecorder is the mock recorder for ChainVM.

func (*ChainVMMockRecorder) AppGossip added in v0.15.6

func (mr *ChainVMMockRecorder) AppGossip(ctx, nodeID, msg any) *gomock.Call

AppGossip indicates an expected call of AppGossip.

func (*ChainVMMockRecorder) AppRequest added in v0.15.6

func (mr *ChainVMMockRecorder) AppRequest(ctx, nodeID, requestID, deadline, request any) *gomock.Call

AppRequest indicates an expected call of AppRequest.

func (*ChainVMMockRecorder) AppRequestFailed added in v0.15.6

func (mr *ChainVMMockRecorder) AppRequestFailed(ctx, nodeID, requestID, appErr any) *gomock.Call

AppRequestFailed indicates an expected call of AppRequestFailed.

func (*ChainVMMockRecorder) AppResponse added in v0.15.6

func (mr *ChainVMMockRecorder) AppResponse(ctx, nodeID, requestID, response any) *gomock.Call

AppResponse indicates an expected call of AppResponse.

func (*ChainVMMockRecorder) BuildBlock added in v0.15.6

func (mr *ChainVMMockRecorder) BuildBlock(arg0 any) *gomock.Call

BuildBlock indicates an expected call of BuildBlock.

func (*ChainVMMockRecorder) Connected added in v0.15.6

func (mr *ChainVMMockRecorder) Connected(ctx, nodeID, nodeVersion any) *gomock.Call

Connected indicates an expected call of Connected.

func (*ChainVMMockRecorder) CreateHandlers added in v0.15.6

func (mr *ChainVMMockRecorder) CreateHandlers(arg0 any) *gomock.Call

CreateHandlers indicates an expected call of CreateHandlers.

func (*ChainVMMockRecorder) Disconnected added in v0.15.6

func (mr *ChainVMMockRecorder) Disconnected(ctx, nodeID any) *gomock.Call

Disconnected indicates an expected call of Disconnected.

func (*ChainVMMockRecorder) GetBlock added in v0.15.6

func (mr *ChainVMMockRecorder) GetBlock(ctx, blkID any) *gomock.Call

GetBlock indicates an expected call of GetBlock.

func (*ChainVMMockRecorder) GetBlockIDAtHeight added in v0.15.6

func (mr *ChainVMMockRecorder) GetBlockIDAtHeight(ctx, height any) *gomock.Call

GetBlockIDAtHeight indicates an expected call of GetBlockIDAtHeight.

func (*ChainVMMockRecorder) HealthCheck added in v0.15.6

func (mr *ChainVMMockRecorder) HealthCheck(arg0 any) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*ChainVMMockRecorder) Initialize added in v0.15.6

func (mr *ChainVMMockRecorder) Initialize(ctx, chainCtx, db, genesisBytes, upgradeBytes, configBytes, fxs, appSender any) *gomock.Call

Initialize indicates an expected call of Initialize.

func (*ChainVMMockRecorder) LastAccepted added in v0.15.6

func (mr *ChainVMMockRecorder) LastAccepted(arg0 any) *gomock.Call

LastAccepted indicates an expected call of LastAccepted.

func (*ChainVMMockRecorder) NewHTTPHandler added in v0.15.6

func (mr *ChainVMMockRecorder) NewHTTPHandler(ctx any) *gomock.Call

NewHTTPHandler indicates an expected call of NewHTTPHandler.

func (*ChainVMMockRecorder) ParseBlock added in v0.15.6

func (mr *ChainVMMockRecorder) ParseBlock(ctx, blockBytes any) *gomock.Call

ParseBlock indicates an expected call of ParseBlock.

func (*ChainVMMockRecorder) SetPreference added in v0.15.6

func (mr *ChainVMMockRecorder) SetPreference(ctx, blkID any) *gomock.Call

SetPreference indicates an expected call of SetPreference.

func (*ChainVMMockRecorder) SetState added in v0.15.6

func (mr *ChainVMMockRecorder) SetState(ctx, state any) *gomock.Call

SetState indicates an expected call of SetState.

func (*ChainVMMockRecorder) Shutdown added in v0.15.6

func (mr *ChainVMMockRecorder) Shutdown(arg0 any) *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*ChainVMMockRecorder) Version added in v0.15.6

func (mr *ChainVMMockRecorder) Version(arg0 any) *gomock.Call

Version indicates an expected call of Version.

func (*ChainVMMockRecorder) WaitForEvent added in v0.15.6

func (mr *ChainVMMockRecorder) WaitForEvent(ctx any) *gomock.Call

WaitForEvent indicates an expected call of WaitForEvent.

type FullVM added in v0.15.6

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

FullVM is a mock of FullVM interface.

func NewFullVM added in v0.15.6

func NewFullVM(ctrl *gomock.Controller) *FullVM

NewFullVM creates a new mock instance.

func (*FullVM) AppGossip added in v0.15.6

func (m *FullVM) AppGossip(ctx context.Context, nodeID ids.NodeID, msg []byte) error

AppGossip mocks base method.

func (*FullVM) AppRequest added in v0.15.6

func (m *FullVM) AppRequest(ctx context.Context, nodeID ids.NodeID, requestID uint32, deadline time.Time, request []byte) error

AppRequest mocks base method.

func (*FullVM) AppRequestFailed added in v0.15.6

func (m *FullVM) AppRequestFailed(ctx context.Context, nodeID ids.NodeID, requestID uint32, appErr *core.AppError) error

AppRequestFailed mocks base method.

func (*FullVM) AppResponse added in v0.15.6

func (m *FullVM) AppResponse(ctx context.Context, nodeID ids.NodeID, requestID uint32, response []byte) error

AppResponse mocks base method.

func (*FullVM) BatchedParseBlock added in v0.15.6

func (m *FullVM) BatchedParseBlock(ctx context.Context, blks [][]byte) ([]chain.Block, error)

BatchedParseBlock mocks base method.

func (*FullVM) BuildBlock added in v0.15.6

func (m *FullVM) BuildBlock(arg0 context.Context) (chain.Block, error)

BuildBlock mocks base method.

func (*FullVM) Connected added in v0.15.6

func (m *FullVM) Connected(ctx context.Context, nodeID ids.NodeID, nodeVersion *version.Application) error

Connected mocks base method.

func (*FullVM) CreateHandlers added in v0.15.6

func (m *FullVM) CreateHandlers(arg0 context.Context) (map[string]http.Handler, error)

CreateHandlers mocks base method.

func (*FullVM) Disconnected added in v0.15.6

func (m *FullVM) Disconnected(ctx context.Context, nodeID ids.NodeID) error

Disconnected mocks base method.

func (*FullVM) EXPECT added in v0.15.6

func (m *FullVM) EXPECT() *FullVMMockRecorder

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

func (*FullVM) GetAncestors added in v0.15.6

func (m *FullVM) GetAncestors(ctx context.Context, blkID ids.ID, maxBlocksNum, maxBlocksSize int, maxBlocksRetrivalTime time.Duration) ([][]byte, error)

GetAncestors mocks base method.

func (*FullVM) GetBlock added in v0.15.6

func (m *FullVM) GetBlock(ctx context.Context, blkID ids.ID) (chain.Block, error)

GetBlock mocks base method.

func (*FullVM) GetBlockIDAtHeight added in v0.15.6

func (m *FullVM) GetBlockIDAtHeight(ctx context.Context, height uint64) (ids.ID, error)

GetBlockIDAtHeight mocks base method.

func (*FullVM) GetLastStateSummary added in v0.15.6

func (m *FullVM) GetLastStateSummary(arg0 context.Context) (block.StateSummary, error)

GetLastStateSummary mocks base method.

func (*FullVM) GetOngoingSyncStateSummary added in v0.15.6

func (m *FullVM) GetOngoingSyncStateSummary(arg0 context.Context) (block.StateSummary, error)

GetOngoingSyncStateSummary mocks base method.

func (*FullVM) GetStateSummary added in v0.15.6

func (m *FullVM) GetStateSummary(ctx context.Context, summaryHeight uint64) (block.StateSummary, error)

GetStateSummary mocks base method.

func (*FullVM) HealthCheck added in v0.15.6

func (m *FullVM) HealthCheck(arg0 context.Context) (any, error)

HealthCheck mocks base method.

func (*FullVM) Initialize added in v0.15.6

func (m *FullVM) Initialize(ctx context.Context, chainCtx *consensus.Context, db database.Database, genesisBytes, upgradeBytes, configBytes []byte, fxs []*core.Fx, appSender core.AppSender) error

Initialize mocks base method.

func (*FullVM) LastAccepted added in v0.15.6

func (m *FullVM) LastAccepted(arg0 context.Context) (ids.ID, error)

LastAccepted mocks base method.

func (*FullVM) NewHTTPHandler added in v0.15.6

func (m *FullVM) NewHTTPHandler(ctx context.Context) (http.Handler, error)

NewHTTPHandler mocks base method.

func (*FullVM) ParseBlock added in v0.15.6

func (m *FullVM) ParseBlock(ctx context.Context, blockBytes []byte) (chain.Block, error)

ParseBlock mocks base method.

func (*FullVM) ParseStateSummary added in v0.15.6

func (m *FullVM) ParseStateSummary(ctx context.Context, summaryBytes []byte) (block.StateSummary, error)

ParseStateSummary mocks base method.

func (*FullVM) SetPreference added in v0.15.6

func (m *FullVM) SetPreference(ctx context.Context, blkID ids.ID) error

SetPreference mocks base method.

func (*FullVM) SetState added in v0.15.6

func (m *FullVM) SetState(ctx context.Context, state consensus.State) error

SetState mocks base method.

func (*FullVM) Shutdown added in v0.15.6

func (m *FullVM) Shutdown(arg0 context.Context) error

Shutdown mocks base method.

func (*FullVM) StateSyncEnabled added in v0.15.6

func (m *FullVM) StateSyncEnabled(arg0 context.Context) (bool, error)

StateSyncEnabled mocks base method.

func (*FullVM) Version added in v0.15.6

func (m *FullVM) Version(arg0 context.Context) (string, error)

Version mocks base method.

func (*FullVM) WaitForEvent added in v0.15.6

func (m *FullVM) WaitForEvent(ctx context.Context) (core.Message, error)

WaitForEvent mocks base method.

type FullVMMockRecorder added in v0.15.6

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

FullVMMockRecorder is the mock recorder for FullVM.

func (*FullVMMockRecorder) AppGossip added in v0.15.6

func (mr *FullVMMockRecorder) AppGossip(ctx, nodeID, msg any) *gomock.Call

AppGossip indicates an expected call of AppGossip.

func (*FullVMMockRecorder) AppRequest added in v0.15.6

func (mr *FullVMMockRecorder) AppRequest(ctx, nodeID, requestID, deadline, request any) *gomock.Call

AppRequest indicates an expected call of AppRequest.

func (*FullVMMockRecorder) AppRequestFailed added in v0.15.6

func (mr *FullVMMockRecorder) AppRequestFailed(ctx, nodeID, requestID, appErr any) *gomock.Call

AppRequestFailed indicates an expected call of AppRequestFailed.

func (*FullVMMockRecorder) AppResponse added in v0.15.6

func (mr *FullVMMockRecorder) AppResponse(ctx, nodeID, requestID, response any) *gomock.Call

AppResponse indicates an expected call of AppResponse.

func (*FullVMMockRecorder) BatchedParseBlock added in v0.15.6

func (mr *FullVMMockRecorder) BatchedParseBlock(ctx, blks any) *gomock.Call

BatchedParseBlock indicates an expected call of BatchedParseBlock.

func (*FullVMMockRecorder) BuildBlock added in v0.15.6

func (mr *FullVMMockRecorder) BuildBlock(arg0 any) *gomock.Call

BuildBlock indicates an expected call of BuildBlock.

func (*FullVMMockRecorder) Connected added in v0.15.6

func (mr *FullVMMockRecorder) Connected(ctx, nodeID, nodeVersion any) *gomock.Call

Connected indicates an expected call of Connected.

func (*FullVMMockRecorder) CreateHandlers added in v0.15.6

func (mr *FullVMMockRecorder) CreateHandlers(arg0 any) *gomock.Call

CreateHandlers indicates an expected call of CreateHandlers.

func (*FullVMMockRecorder) Disconnected added in v0.15.6

func (mr *FullVMMockRecorder) Disconnected(ctx, nodeID any) *gomock.Call

Disconnected indicates an expected call of Disconnected.

func (*FullVMMockRecorder) GetAncestors added in v0.15.6

func (mr *FullVMMockRecorder) GetAncestors(ctx, blkID, maxBlocksNum, maxBlocksSize, maxBlocksRetrivalTime any) *gomock.Call

GetAncestors indicates an expected call of GetAncestors.

func (*FullVMMockRecorder) GetBlock added in v0.15.6

func (mr *FullVMMockRecorder) GetBlock(ctx, blkID any) *gomock.Call

GetBlock indicates an expected call of GetBlock.

func (*FullVMMockRecorder) GetBlockIDAtHeight added in v0.15.6

func (mr *FullVMMockRecorder) GetBlockIDAtHeight(ctx, height any) *gomock.Call

GetBlockIDAtHeight indicates an expected call of GetBlockIDAtHeight.

func (*FullVMMockRecorder) GetLastStateSummary added in v0.15.6

func (mr *FullVMMockRecorder) GetLastStateSummary(arg0 any) *gomock.Call

GetLastStateSummary indicates an expected call of GetLastStateSummary.

func (*FullVMMockRecorder) GetOngoingSyncStateSummary added in v0.15.6

func (mr *FullVMMockRecorder) GetOngoingSyncStateSummary(arg0 any) *gomock.Call

GetOngoingSyncStateSummary indicates an expected call of GetOngoingSyncStateSummary.

func (*FullVMMockRecorder) GetStateSummary added in v0.15.6

func (mr *FullVMMockRecorder) GetStateSummary(ctx, summaryHeight any) *gomock.Call

GetStateSummary indicates an expected call of GetStateSummary.

func (*FullVMMockRecorder) HealthCheck added in v0.15.6

func (mr *FullVMMockRecorder) HealthCheck(arg0 any) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*FullVMMockRecorder) Initialize added in v0.15.6

func (mr *FullVMMockRecorder) Initialize(ctx, chainCtx, db, genesisBytes, upgradeBytes, configBytes, fxs, appSender any) *gomock.Call

Initialize indicates an expected call of Initialize.

func (*FullVMMockRecorder) LastAccepted added in v0.15.6

func (mr *FullVMMockRecorder) LastAccepted(arg0 any) *gomock.Call

LastAccepted indicates an expected call of LastAccepted.

func (*FullVMMockRecorder) NewHTTPHandler added in v0.15.6

func (mr *FullVMMockRecorder) NewHTTPHandler(ctx any) *gomock.Call

NewHTTPHandler indicates an expected call of NewHTTPHandler.

func (*FullVMMockRecorder) ParseBlock added in v0.15.6

func (mr *FullVMMockRecorder) ParseBlock(ctx, blockBytes any) *gomock.Call

ParseBlock indicates an expected call of ParseBlock.

func (*FullVMMockRecorder) ParseStateSummary added in v0.15.6

func (mr *FullVMMockRecorder) ParseStateSummary(ctx, summaryBytes any) *gomock.Call

ParseStateSummary indicates an expected call of ParseStateSummary.

func (*FullVMMockRecorder) SetPreference added in v0.15.6

func (mr *FullVMMockRecorder) SetPreference(ctx, blkID any) *gomock.Call

SetPreference indicates an expected call of SetPreference.

func (*FullVMMockRecorder) SetState added in v0.15.6

func (mr *FullVMMockRecorder) SetState(ctx, state any) *gomock.Call

SetState indicates an expected call of SetState.

func (*FullVMMockRecorder) Shutdown added in v0.15.6

func (mr *FullVMMockRecorder) Shutdown(arg0 any) *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*FullVMMockRecorder) StateSyncEnabled added in v0.15.6

func (mr *FullVMMockRecorder) StateSyncEnabled(arg0 any) *gomock.Call

StateSyncEnabled indicates an expected call of StateSyncEnabled.

func (*FullVMMockRecorder) Version added in v0.15.6

func (mr *FullVMMockRecorder) Version(arg0 any) *gomock.Call

Version indicates an expected call of Version.

func (*FullVMMockRecorder) WaitForEvent added in v0.15.6

func (mr *FullVMMockRecorder) WaitForEvent(ctx any) *gomock.Call

WaitForEvent indicates an expected call of WaitForEvent.

type StateSyncableVM added in v0.15.6

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

StateSyncableVM is a mock of StateSyncableVM interface.

func NewStateSyncableVM added in v0.15.6

func NewStateSyncableVM(ctrl *gomock.Controller) *StateSyncableVM

NewStateSyncableVM creates a new mock instance.

func (*StateSyncableVM) EXPECT added in v0.15.6

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

func (*StateSyncableVM) GetLastStateSummary added in v0.15.6

func (m *StateSyncableVM) GetLastStateSummary(arg0 context.Context) (block.StateSummary, error)

GetLastStateSummary mocks base method.

func (*StateSyncableVM) GetOngoingSyncStateSummary added in v0.15.6

func (m *StateSyncableVM) GetOngoingSyncStateSummary(arg0 context.Context) (block.StateSummary, error)

GetOngoingSyncStateSummary mocks base method.

func (*StateSyncableVM) GetStateSummary added in v0.15.6

func (m *StateSyncableVM) GetStateSummary(ctx context.Context, summaryHeight uint64) (block.StateSummary, error)

GetStateSummary mocks base method.

func (*StateSyncableVM) ParseStateSummary added in v0.15.6

func (m *StateSyncableVM) ParseStateSummary(ctx context.Context, summaryBytes []byte) (block.StateSummary, error)

ParseStateSummary mocks base method.

func (*StateSyncableVM) StateSyncEnabled added in v0.15.6

func (m *StateSyncableVM) StateSyncEnabled(arg0 context.Context) (bool, error)

StateSyncEnabled mocks base method.

type StateSyncableVMMockRecorder added in v0.15.6

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

StateSyncableVMMockRecorder is the mock recorder for StateSyncableVM.

func (*StateSyncableVMMockRecorder) GetLastStateSummary added in v0.15.6

func (mr *StateSyncableVMMockRecorder) GetLastStateSummary(arg0 any) *gomock.Call

GetLastStateSummary indicates an expected call of GetLastStateSummary.

func (*StateSyncableVMMockRecorder) GetOngoingSyncStateSummary added in v0.15.6

func (mr *StateSyncableVMMockRecorder) GetOngoingSyncStateSummary(arg0 any) *gomock.Call

GetOngoingSyncStateSummary indicates an expected call of GetOngoingSyncStateSummary.

func (*StateSyncableVMMockRecorder) GetStateSummary added in v0.15.6

func (mr *StateSyncableVMMockRecorder) GetStateSummary(ctx, summaryHeight any) *gomock.Call

GetStateSummary indicates an expected call of GetStateSummary.

func (*StateSyncableVMMockRecorder) ParseStateSummary added in v0.15.6

func (mr *StateSyncableVMMockRecorder) ParseStateSummary(ctx, summaryBytes any) *gomock.Call

ParseStateSummary indicates an expected call of ParseStateSummary.

func (*StateSyncableVMMockRecorder) StateSyncEnabled added in v0.15.6

func (mr *StateSyncableVMMockRecorder) StateSyncEnabled(arg0 any) *gomock.Call

StateSyncEnabled indicates an expected call of StateSyncEnabled.

type WithVerifyContext added in v0.15.6

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

WithVerifyContext is a mock of WithVerifyContext interface.

func NewWithVerifyContext added in v0.15.6

func NewWithVerifyContext(ctrl *gomock.Controller) *WithVerifyContext

NewWithVerifyContext creates a new mock instance.

func (*WithVerifyContext) EXPECT added in v0.15.6

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

func (*WithVerifyContext) ShouldVerifyWithContext added in v0.15.6

func (m *WithVerifyContext) ShouldVerifyWithContext(arg0 context.Context) (bool, error)

ShouldVerifyWithContext mocks base method.

func (*WithVerifyContext) VerifyWithContext added in v0.15.6

func (m *WithVerifyContext) VerifyWithContext(arg0 context.Context, arg1 *block.Context) error

VerifyWithContext mocks base method.

type WithVerifyContextMockRecorder added in v0.15.6

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

WithVerifyContextMockRecorder is the mock recorder for WithVerifyContext.

func (*WithVerifyContextMockRecorder) ShouldVerifyWithContext added in v0.15.6

func (mr *WithVerifyContextMockRecorder) ShouldVerifyWithContext(arg0 any) *gomock.Call

ShouldVerifyWithContext indicates an expected call of ShouldVerifyWithContext.

func (*WithVerifyContextMockRecorder) VerifyWithContext added in v0.15.6

func (mr *WithVerifyContextMockRecorder) VerifyWithContext(arg0, arg1 any) *gomock.Call

VerifyWithContext indicates an expected call of VerifyWithContext.

Jump to

Keyboard shortcuts

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