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.
Package blockmock is a generated GoMock package.
Package blockmock is a generated GoMock package.
Index ¶
- type BuildBlockWithContextChainVM
- type BuildBlockWithContextChainVMMockRecorder
- type ChainVM
- func (m *ChainVM) AppGossip(ctx context.Context, nodeID ids.NodeID, msg []byte) error
- func (m *ChainVM) AppRequest(ctx context.Context, nodeID ids.NodeID, requestID uint32, deadline time.Time, ...) error
- func (m *ChainVM) AppRequestFailed(ctx context.Context, nodeID ids.NodeID, requestID uint32, ...) error
- func (m *ChainVM) AppResponse(ctx context.Context, nodeID ids.NodeID, requestID uint32, response []byte) error
- func (m *ChainVM) BuildBlock(arg0 context.Context) (linear.Block, error)
- func (m *ChainVM) Connected(ctx context.Context, nodeID ids.NodeID, nodeVersion *version.Application) error
- func (m *ChainVM) CreateHandlers(arg0 context.Context) (map[string]http.Handler, error)
- func (m *ChainVM) Disconnected(ctx context.Context, nodeID ids.NodeID) error
- func (m *ChainVM) EXPECT() *ChainVMMockRecorder
- func (m *ChainVM) GetBlock(ctx context.Context, blkID ids.ID) (linear.Block, error)
- func (m *ChainVM) GetBlockIDAtHeight(ctx context.Context, height uint64) (ids.ID, error)
- func (m *ChainVM) HealthCheck(arg0 context.Context) (any, error)
- func (m *ChainVM) Initialize(ctx context.Context, chainCtx *consensus.Context, db database.Database, ...) error
- func (m *ChainVM) LastAccepted(arg0 context.Context) (ids.ID, error)
- func (m *ChainVM) NewHTTPHandler(ctx context.Context) (http.Handler, error)
- func (m *ChainVM) ParseBlock(ctx context.Context, blockBytes []byte) (linear.Block, error)
- func (m *ChainVM) SetPreference(ctx context.Context, blkID ids.ID) error
- func (m *ChainVM) SetState(ctx context.Context, state consensus.State) error
- func (m *ChainVM) Shutdown(arg0 context.Context) error
- func (m *ChainVM) Version(arg0 context.Context) (string, error)
- func (m *ChainVM) WaitForEvent(ctx context.Context) (core.Message, error)
- type ChainVMMockRecorder
- func (mr *ChainVMMockRecorder) AppGossip(ctx, nodeID, msg any) *gomock.Call
- func (mr *ChainVMMockRecorder) AppRequest(ctx, nodeID, requestID, deadline, request any) *gomock.Call
- func (mr *ChainVMMockRecorder) AppRequestFailed(ctx, nodeID, requestID, appErr any) *gomock.Call
- func (mr *ChainVMMockRecorder) AppResponse(ctx, nodeID, requestID, response any) *gomock.Call
- func (mr *ChainVMMockRecorder) BuildBlock(arg0 any) *gomock.Call
- func (mr *ChainVMMockRecorder) Connected(ctx, nodeID, nodeVersion any) *gomock.Call
- func (mr *ChainVMMockRecorder) CreateHandlers(arg0 any) *gomock.Call
- func (mr *ChainVMMockRecorder) Disconnected(ctx, nodeID any) *gomock.Call
- func (mr *ChainVMMockRecorder) GetBlock(ctx, blkID any) *gomock.Call
- func (mr *ChainVMMockRecorder) GetBlockIDAtHeight(ctx, height any) *gomock.Call
- func (mr *ChainVMMockRecorder) HealthCheck(arg0 any) *gomock.Call
- func (mr *ChainVMMockRecorder) Initialize(ctx, chainCtx, db, genesisBytes, upgradeBytes, configBytes, fxs, appSender any) *gomock.Call
- func (mr *ChainVMMockRecorder) LastAccepted(arg0 any) *gomock.Call
- func (mr *ChainVMMockRecorder) NewHTTPHandler(ctx any) *gomock.Call
- func (mr *ChainVMMockRecorder) ParseBlock(ctx, blockBytes any) *gomock.Call
- func (mr *ChainVMMockRecorder) SetPreference(ctx, blkID any) *gomock.Call
- func (mr *ChainVMMockRecorder) SetState(ctx, state any) *gomock.Call
- func (mr *ChainVMMockRecorder) Shutdown(arg0 any) *gomock.Call
- func (mr *ChainVMMockRecorder) Version(arg0 any) *gomock.Call
- func (mr *ChainVMMockRecorder) WaitForEvent(ctx any) *gomock.Call
- type FullVM
- func (m *FullVM) AppGossip(ctx context.Context, nodeID ids.NodeID, msg []byte) error
- func (m *FullVM) AppRequest(ctx context.Context, nodeID ids.NodeID, requestID uint32, deadline time.Time, ...) error
- func (m *FullVM) AppRequestFailed(ctx context.Context, nodeID ids.NodeID, requestID uint32, ...) error
- func (m *FullVM) AppResponse(ctx context.Context, nodeID ids.NodeID, requestID uint32, response []byte) error
- func (m *FullVM) BatchedParseBlock(ctx context.Context, blks [][]byte) ([]linear.Block, error)
- func (m *FullVM) BuildBlock(arg0 context.Context) (linear.Block, error)
- func (m *FullVM) Connected(ctx context.Context, nodeID ids.NodeID, nodeVersion *version.Application) error
- func (m *FullVM) CreateHandlers(arg0 context.Context) (map[string]http.Handler, error)
- func (m *FullVM) Disconnected(ctx context.Context, nodeID ids.NodeID) error
- func (m *FullVM) EXPECT() *FullVMMockRecorder
- func (m *FullVM) GetAncestors(ctx context.Context, blkID ids.ID, maxBlocksNum, maxBlocksSize int, ...) ([][]byte, error)
- func (m *FullVM) GetBlock(ctx context.Context, blkID ids.ID) (linear.Block, error)
- func (m *FullVM) GetBlockIDAtHeight(ctx context.Context, height uint64) (ids.ID, error)
- func (m *FullVM) GetLastStateSummary(arg0 context.Context) (block.StateSummary, error)
- func (m *FullVM) GetOngoingSyncStateSummary(arg0 context.Context) (block.StateSummary, error)
- func (m *FullVM) GetStateSummary(ctx context.Context, summaryHeight uint64) (block.StateSummary, error)
- func (m *FullVM) HealthCheck(arg0 context.Context) (any, error)
- func (m *FullVM) Initialize(ctx context.Context, chainCtx *consensus.Context, db database.Database, ...) error
- func (m *FullVM) LastAccepted(arg0 context.Context) (ids.ID, error)
- func (m *FullVM) NewHTTPHandler(ctx context.Context) (http.Handler, error)
- func (m *FullVM) ParseBlock(ctx context.Context, blockBytes []byte) (linear.Block, error)
- func (m *FullVM) ParseStateSummary(ctx context.Context, summaryBytes []byte) (block.StateSummary, error)
- func (m *FullVM) SetPreference(ctx context.Context, blkID ids.ID) error
- func (m *FullVM) SetState(ctx context.Context, state consensus.State) error
- func (m *FullVM) Shutdown(arg0 context.Context) error
- func (m *FullVM) StateSyncEnabled(arg0 context.Context) (bool, error)
- func (m *FullVM) Version(arg0 context.Context) (string, error)
- func (m *FullVM) WaitForEvent(ctx context.Context) (core.Message, error)
- type FullVMMockRecorder
- func (mr *FullVMMockRecorder) AppGossip(ctx, nodeID, msg any) *gomock.Call
- func (mr *FullVMMockRecorder) AppRequest(ctx, nodeID, requestID, deadline, request any) *gomock.Call
- func (mr *FullVMMockRecorder) AppRequestFailed(ctx, nodeID, requestID, appErr any) *gomock.Call
- func (mr *FullVMMockRecorder) AppResponse(ctx, nodeID, requestID, response any) *gomock.Call
- func (mr *FullVMMockRecorder) BatchedParseBlock(ctx, blks any) *gomock.Call
- func (mr *FullVMMockRecorder) BuildBlock(arg0 any) *gomock.Call
- func (mr *FullVMMockRecorder) Connected(ctx, nodeID, nodeVersion any) *gomock.Call
- func (mr *FullVMMockRecorder) CreateHandlers(arg0 any) *gomock.Call
- func (mr *FullVMMockRecorder) Disconnected(ctx, nodeID any) *gomock.Call
- func (mr *FullVMMockRecorder) GetAncestors(ctx, blkID, maxBlocksNum, maxBlocksSize, maxBlocksRetrivalTime any) *gomock.Call
- func (mr *FullVMMockRecorder) GetBlock(ctx, blkID any) *gomock.Call
- func (mr *FullVMMockRecorder) GetBlockIDAtHeight(ctx, height any) *gomock.Call
- func (mr *FullVMMockRecorder) GetLastStateSummary(arg0 any) *gomock.Call
- func (mr *FullVMMockRecorder) GetOngoingSyncStateSummary(arg0 any) *gomock.Call
- func (mr *FullVMMockRecorder) GetStateSummary(ctx, summaryHeight any) *gomock.Call
- func (mr *FullVMMockRecorder) HealthCheck(arg0 any) *gomock.Call
- func (mr *FullVMMockRecorder) Initialize(ctx, chainCtx, db, genesisBytes, upgradeBytes, configBytes, fxs, appSender any) *gomock.Call
- func (mr *FullVMMockRecorder) LastAccepted(arg0 any) *gomock.Call
- func (mr *FullVMMockRecorder) NewHTTPHandler(ctx any) *gomock.Call
- func (mr *FullVMMockRecorder) ParseBlock(ctx, blockBytes any) *gomock.Call
- func (mr *FullVMMockRecorder) ParseStateSummary(ctx, summaryBytes any) *gomock.Call
- func (mr *FullVMMockRecorder) SetPreference(ctx, blkID any) *gomock.Call
- func (mr *FullVMMockRecorder) SetState(ctx, state any) *gomock.Call
- func (mr *FullVMMockRecorder) Shutdown(arg0 any) *gomock.Call
- func (mr *FullVMMockRecorder) StateSyncEnabled(arg0 any) *gomock.Call
- func (mr *FullVMMockRecorder) Version(arg0 any) *gomock.Call
- func (mr *FullVMMockRecorder) WaitForEvent(ctx any) *gomock.Call
- type StateSyncableVM
- func (m *StateSyncableVM) EXPECT() *StateSyncableVMMockRecorder
- func (m *StateSyncableVM) GetLastStateSummary(arg0 context.Context) (block.StateSummary, error)
- func (m *StateSyncableVM) GetOngoingSyncStateSummary(arg0 context.Context) (block.StateSummary, error)
- func (m *StateSyncableVM) GetStateSummary(ctx context.Context, summaryHeight uint64) (block.StateSummary, error)
- func (m *StateSyncableVM) ParseStateSummary(ctx context.Context, summaryBytes []byte) (block.StateSummary, error)
- func (m *StateSyncableVM) StateSyncEnabled(arg0 context.Context) (bool, error)
- type StateSyncableVMMockRecorder
- func (mr *StateSyncableVMMockRecorder) GetLastStateSummary(arg0 any) *gomock.Call
- func (mr *StateSyncableVMMockRecorder) GetOngoingSyncStateSummary(arg0 any) *gomock.Call
- func (mr *StateSyncableVMMockRecorder) GetStateSummary(ctx, summaryHeight any) *gomock.Call
- func (mr *StateSyncableVMMockRecorder) ParseStateSummary(ctx, summaryBytes any) *gomock.Call
- func (mr *StateSyncableVMMockRecorder) StateSyncEnabled(arg0 any) *gomock.Call
- type WithVerifyContext
- type WithVerifyContextMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildBlockWithContextChainVM ¶
type BuildBlockWithContextChainVM struct {
// contains filtered or unexported fields
}
BuildBlockWithContextChainVM is a mock of BuildBlockWithContextChainVM interface.
func NewBuildBlockWithContextChainVM ¶
func NewBuildBlockWithContextChainVM(ctrl *gomock.Controller) *BuildBlockWithContextChainVM
NewBuildBlockWithContextChainVM creates a new mock instance.
type BuildBlockWithContextChainVMMockRecorder ¶
type BuildBlockWithContextChainVMMockRecorder struct {
// contains filtered or unexported fields
}
BuildBlockWithContextChainVMMockRecorder is the mock recorder for BuildBlockWithContextChainVM.
func (*BuildBlockWithContextChainVMMockRecorder) BuildBlockWithContext ¶
func (mr *BuildBlockWithContextChainVMMockRecorder) BuildBlockWithContext(ctx, blockCtx any) *gomock.Call
BuildBlockWithContext indicates an expected call of BuildBlockWithContext.
type ChainVM ¶
type ChainVM struct {
// contains filtered or unexported fields
}
ChainVM is a mock of ChainVM interface.
func NewChainVM ¶
func NewChainVM(ctrl *gomock.Controller) *ChainVM
NewChainVM creates a new mock instance.
func (*ChainVM) AppRequest ¶
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 ¶
func (m *ChainVM) AppRequestFailed(ctx context.Context, nodeID ids.NodeID, requestID uint32, appErr *core.AppError) error
AppRequestFailed mocks base method.
func (*ChainVM) AppResponse ¶
func (m *ChainVM) AppResponse(ctx context.Context, nodeID ids.NodeID, requestID uint32, response []byte) error
AppResponse mocks base method.
func (*ChainVM) BuildBlock ¶
BuildBlock mocks base method.
func (*ChainVM) Connected ¶
func (m *ChainVM) Connected(ctx context.Context, nodeID ids.NodeID, nodeVersion *version.Application) error
Connected mocks base method.
func (*ChainVM) CreateHandlers ¶
CreateHandlers mocks base method.
func (*ChainVM) Disconnected ¶
Disconnected mocks base method.
func (*ChainVM) EXPECT ¶
func (m *ChainVM) EXPECT() *ChainVMMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*ChainVM) GetBlockIDAtHeight ¶
GetBlockIDAtHeight mocks base method.
func (*ChainVM) HealthCheck ¶
HealthCheck mocks base method.
func (*ChainVM) Initialize ¶
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 ¶
LastAccepted mocks base method.
func (*ChainVM) NewHTTPHandler ¶
NewHTTPHandler mocks base method.
func (*ChainVM) ParseBlock ¶
ParseBlock mocks base method.
func (*ChainVM) SetPreference ¶
SetPreference mocks base method.
type ChainVMMockRecorder ¶
type ChainVMMockRecorder struct {
// contains filtered or unexported fields
}
ChainVMMockRecorder is the mock recorder for ChainVM.
func (*ChainVMMockRecorder) AppRequest ¶
func (mr *ChainVMMockRecorder) AppRequest(ctx, nodeID, requestID, deadline, request any) *gomock.Call
AppRequest indicates an expected call of AppRequest.
func (*ChainVMMockRecorder) AppRequestFailed ¶
AppRequestFailed indicates an expected call of AppRequestFailed.
func (*ChainVMMockRecorder) AppResponse ¶
AppResponse indicates an expected call of AppResponse.
func (*ChainVMMockRecorder) BuildBlock ¶
BuildBlock indicates an expected call of BuildBlock.
func (*ChainVMMockRecorder) CreateHandlers ¶
CreateHandlers indicates an expected call of CreateHandlers.
func (*ChainVMMockRecorder) Disconnected ¶
Disconnected indicates an expected call of Disconnected.
func (*ChainVMMockRecorder) GetBlockIDAtHeight ¶
GetBlockIDAtHeight indicates an expected call of GetBlockIDAtHeight.
func (*ChainVMMockRecorder) HealthCheck ¶
HealthCheck indicates an expected call of HealthCheck.
func (*ChainVMMockRecorder) Initialize ¶
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 ¶
LastAccepted indicates an expected call of LastAccepted.
func (*ChainVMMockRecorder) NewHTTPHandler ¶
NewHTTPHandler indicates an expected call of NewHTTPHandler.
func (*ChainVMMockRecorder) ParseBlock ¶
ParseBlock indicates an expected call of ParseBlock.
func (*ChainVMMockRecorder) SetPreference ¶
SetPreference indicates an expected call of SetPreference.
func (*ChainVMMockRecorder) WaitForEvent ¶
WaitForEvent indicates an expected call of WaitForEvent.
type FullVM ¶
type FullVM struct {
// contains filtered or unexported fields
}
FullVM is a mock of FullVM interface.
func NewFullVM ¶
func NewFullVM(ctrl *gomock.Controller) *FullVM
NewFullVM creates a new mock instance.
func (*FullVM) AppRequest ¶
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 ¶
func (m *FullVM) AppRequestFailed(ctx context.Context, nodeID ids.NodeID, requestID uint32, appErr *core.AppError) error
AppRequestFailed mocks base method.
func (*FullVM) AppResponse ¶
func (m *FullVM) AppResponse(ctx context.Context, nodeID ids.NodeID, requestID uint32, response []byte) error
AppResponse mocks base method.
func (*FullVM) BatchedParseBlock ¶
BatchedParseBlock mocks base method.
func (*FullVM) BuildBlock ¶
BuildBlock mocks base method.
func (*FullVM) Connected ¶
func (m *FullVM) Connected(ctx context.Context, nodeID ids.NodeID, nodeVersion *version.Application) error
Connected mocks base method.
func (*FullVM) CreateHandlers ¶
CreateHandlers mocks base method.
func (*FullVM) Disconnected ¶
Disconnected mocks base method.
func (*FullVM) EXPECT ¶
func (m *FullVM) EXPECT() *FullVMMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*FullVM) GetAncestors ¶
func (m *FullVM) GetAncestors(ctx context.Context, blkID ids.ID, maxBlocksNum, maxBlocksSize int, maxBlocksRetrivalTime time.Duration) ([][]byte, error)
GetAncestors mocks base method.
func (*FullVM) GetBlockIDAtHeight ¶
GetBlockIDAtHeight mocks base method.
func (*FullVM) GetLastStateSummary ¶
GetLastStateSummary mocks base method.
func (*FullVM) GetOngoingSyncStateSummary ¶
GetOngoingSyncStateSummary mocks base method.
func (*FullVM) GetStateSummary ¶
func (m *FullVM) GetStateSummary(ctx context.Context, summaryHeight uint64) (block.StateSummary, error)
GetStateSummary mocks base method.
func (*FullVM) HealthCheck ¶
HealthCheck mocks base method.
func (*FullVM) Initialize ¶
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 ¶
LastAccepted mocks base method.
func (*FullVM) NewHTTPHandler ¶
NewHTTPHandler mocks base method.
func (*FullVM) ParseBlock ¶
ParseBlock mocks base method.
func (*FullVM) ParseStateSummary ¶
func (m *FullVM) ParseStateSummary(ctx context.Context, summaryBytes []byte) (block.StateSummary, error)
ParseStateSummary mocks base method.
func (*FullVM) SetPreference ¶
SetPreference mocks base method.
func (*FullVM) StateSyncEnabled ¶
StateSyncEnabled mocks base method.
type FullVMMockRecorder ¶
type FullVMMockRecorder struct {
// contains filtered or unexported fields
}
FullVMMockRecorder is the mock recorder for FullVM.
func (*FullVMMockRecorder) AppGossip ¶
func (mr *FullVMMockRecorder) AppGossip(ctx, nodeID, msg any) *gomock.Call
AppGossip indicates an expected call of AppGossip.
func (*FullVMMockRecorder) AppRequest ¶
func (mr *FullVMMockRecorder) AppRequest(ctx, nodeID, requestID, deadline, request any) *gomock.Call
AppRequest indicates an expected call of AppRequest.
func (*FullVMMockRecorder) AppRequestFailed ¶
func (mr *FullVMMockRecorder) AppRequestFailed(ctx, nodeID, requestID, appErr any) *gomock.Call
AppRequestFailed indicates an expected call of AppRequestFailed.
func (*FullVMMockRecorder) AppResponse ¶
func (mr *FullVMMockRecorder) AppResponse(ctx, nodeID, requestID, response any) *gomock.Call
AppResponse indicates an expected call of AppResponse.
func (*FullVMMockRecorder) BatchedParseBlock ¶
func (mr *FullVMMockRecorder) BatchedParseBlock(ctx, blks any) *gomock.Call
BatchedParseBlock indicates an expected call of BatchedParseBlock.
func (*FullVMMockRecorder) BuildBlock ¶
func (mr *FullVMMockRecorder) BuildBlock(arg0 any) *gomock.Call
BuildBlock indicates an expected call of BuildBlock.
func (*FullVMMockRecorder) Connected ¶
func (mr *FullVMMockRecorder) Connected(ctx, nodeID, nodeVersion any) *gomock.Call
Connected indicates an expected call of Connected.
func (*FullVMMockRecorder) CreateHandlers ¶
func (mr *FullVMMockRecorder) CreateHandlers(arg0 any) *gomock.Call
CreateHandlers indicates an expected call of CreateHandlers.
func (*FullVMMockRecorder) Disconnected ¶
func (mr *FullVMMockRecorder) Disconnected(ctx, nodeID any) *gomock.Call
Disconnected indicates an expected call of Disconnected.
func (*FullVMMockRecorder) GetAncestors ¶
func (mr *FullVMMockRecorder) GetAncestors(ctx, blkID, maxBlocksNum, maxBlocksSize, maxBlocksRetrivalTime any) *gomock.Call
GetAncestors indicates an expected call of GetAncestors.
func (*FullVMMockRecorder) GetBlock ¶
func (mr *FullVMMockRecorder) GetBlock(ctx, blkID any) *gomock.Call
GetBlock indicates an expected call of GetBlock.
func (*FullVMMockRecorder) GetBlockIDAtHeight ¶
func (mr *FullVMMockRecorder) GetBlockIDAtHeight(ctx, height any) *gomock.Call
GetBlockIDAtHeight indicates an expected call of GetBlockIDAtHeight.
func (*FullVMMockRecorder) GetLastStateSummary ¶
func (mr *FullVMMockRecorder) GetLastStateSummary(arg0 any) *gomock.Call
GetLastStateSummary indicates an expected call of GetLastStateSummary.
func (*FullVMMockRecorder) GetOngoingSyncStateSummary ¶
func (mr *FullVMMockRecorder) GetOngoingSyncStateSummary(arg0 any) *gomock.Call
GetOngoingSyncStateSummary indicates an expected call of GetOngoingSyncStateSummary.
func (*FullVMMockRecorder) GetStateSummary ¶
func (mr *FullVMMockRecorder) GetStateSummary(ctx, summaryHeight any) *gomock.Call
GetStateSummary indicates an expected call of GetStateSummary.
func (*FullVMMockRecorder) HealthCheck ¶
func (mr *FullVMMockRecorder) HealthCheck(arg0 any) *gomock.Call
HealthCheck indicates an expected call of HealthCheck.
func (*FullVMMockRecorder) Initialize ¶
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 ¶
func (mr *FullVMMockRecorder) LastAccepted(arg0 any) *gomock.Call
LastAccepted indicates an expected call of LastAccepted.
func (*FullVMMockRecorder) NewHTTPHandler ¶
func (mr *FullVMMockRecorder) NewHTTPHandler(ctx any) *gomock.Call
NewHTTPHandler indicates an expected call of NewHTTPHandler.
func (*FullVMMockRecorder) ParseBlock ¶
func (mr *FullVMMockRecorder) ParseBlock(ctx, blockBytes any) *gomock.Call
ParseBlock indicates an expected call of ParseBlock.
func (*FullVMMockRecorder) ParseStateSummary ¶
func (mr *FullVMMockRecorder) ParseStateSummary(ctx, summaryBytes any) *gomock.Call
ParseStateSummary indicates an expected call of ParseStateSummary.
func (*FullVMMockRecorder) SetPreference ¶
func (mr *FullVMMockRecorder) SetPreference(ctx, blkID any) *gomock.Call
SetPreference indicates an expected call of SetPreference.
func (*FullVMMockRecorder) SetState ¶
func (mr *FullVMMockRecorder) SetState(ctx, state any) *gomock.Call
SetState indicates an expected call of SetState.
func (*FullVMMockRecorder) Shutdown ¶
func (mr *FullVMMockRecorder) Shutdown(arg0 any) *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*FullVMMockRecorder) StateSyncEnabled ¶
func (mr *FullVMMockRecorder) StateSyncEnabled(arg0 any) *gomock.Call
StateSyncEnabled indicates an expected call of StateSyncEnabled.
func (*FullVMMockRecorder) Version ¶
func (mr *FullVMMockRecorder) Version(arg0 any) *gomock.Call
Version indicates an expected call of Version.
func (*FullVMMockRecorder) WaitForEvent ¶
func (mr *FullVMMockRecorder) WaitForEvent(ctx any) *gomock.Call
WaitForEvent indicates an expected call of WaitForEvent.
type StateSyncableVM ¶
type StateSyncableVM struct {
// contains filtered or unexported fields
}
StateSyncableVM is a mock of StateSyncableVM interface.
func NewStateSyncableVM ¶
func NewStateSyncableVM(ctrl *gomock.Controller) *StateSyncableVM
NewStateSyncableVM creates a new mock instance.
func (*StateSyncableVM) EXPECT ¶
func (m *StateSyncableVM) EXPECT() *StateSyncableVMMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*StateSyncableVM) GetLastStateSummary ¶
func (m *StateSyncableVM) GetLastStateSummary(arg0 context.Context) (block.StateSummary, error)
GetLastStateSummary mocks base method.
func (*StateSyncableVM) GetOngoingSyncStateSummary ¶
func (m *StateSyncableVM) GetOngoingSyncStateSummary(arg0 context.Context) (block.StateSummary, error)
GetOngoingSyncStateSummary mocks base method.
func (*StateSyncableVM) GetStateSummary ¶
func (m *StateSyncableVM) GetStateSummary(ctx context.Context, summaryHeight uint64) (block.StateSummary, error)
GetStateSummary mocks base method.
func (*StateSyncableVM) ParseStateSummary ¶
func (m *StateSyncableVM) ParseStateSummary(ctx context.Context, summaryBytes []byte) (block.StateSummary, error)
ParseStateSummary mocks base method.
func (*StateSyncableVM) StateSyncEnabled ¶
func (m *StateSyncableVM) StateSyncEnabled(arg0 context.Context) (bool, error)
StateSyncEnabled mocks base method.
type StateSyncableVMMockRecorder ¶
type StateSyncableVMMockRecorder struct {
// contains filtered or unexported fields
}
StateSyncableVMMockRecorder is the mock recorder for StateSyncableVM.
func (*StateSyncableVMMockRecorder) GetLastStateSummary ¶
func (mr *StateSyncableVMMockRecorder) GetLastStateSummary(arg0 any) *gomock.Call
GetLastStateSummary indicates an expected call of GetLastStateSummary.
func (*StateSyncableVMMockRecorder) GetOngoingSyncStateSummary ¶
func (mr *StateSyncableVMMockRecorder) GetOngoingSyncStateSummary(arg0 any) *gomock.Call
GetOngoingSyncStateSummary indicates an expected call of GetOngoingSyncStateSummary.
func (*StateSyncableVMMockRecorder) GetStateSummary ¶
func (mr *StateSyncableVMMockRecorder) GetStateSummary(ctx, summaryHeight any) *gomock.Call
GetStateSummary indicates an expected call of GetStateSummary.
func (*StateSyncableVMMockRecorder) ParseStateSummary ¶
func (mr *StateSyncableVMMockRecorder) ParseStateSummary(ctx, summaryBytes any) *gomock.Call
ParseStateSummary indicates an expected call of ParseStateSummary.
func (*StateSyncableVMMockRecorder) StateSyncEnabled ¶
func (mr *StateSyncableVMMockRecorder) StateSyncEnabled(arg0 any) *gomock.Call
StateSyncEnabled indicates an expected call of StateSyncEnabled.
type WithVerifyContext ¶
type WithVerifyContext struct {
// contains filtered or unexported fields
}
WithVerifyContext is a mock of WithVerifyContext interface.
func NewWithVerifyContext ¶
func NewWithVerifyContext(ctrl *gomock.Controller) *WithVerifyContext
NewWithVerifyContext creates a new mock instance.
func (*WithVerifyContext) EXPECT ¶
func (m *WithVerifyContext) EXPECT() *WithVerifyContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*WithVerifyContext) ShouldVerifyWithContext ¶
func (m *WithVerifyContext) ShouldVerifyWithContext(arg0 context.Context) (bool, error)
ShouldVerifyWithContext mocks base method.
func (*WithVerifyContext) VerifyWithContext ¶
VerifyWithContext mocks base method.
type WithVerifyContextMockRecorder ¶
type WithVerifyContextMockRecorder struct {
// contains filtered or unexported fields
}
WithVerifyContextMockRecorder is the mock recorder for WithVerifyContext.
func (*WithVerifyContextMockRecorder) ShouldVerifyWithContext ¶
func (mr *WithVerifyContextMockRecorder) ShouldVerifyWithContext(arg0 any) *gomock.Call
ShouldVerifyWithContext indicates an expected call of ShouldVerifyWithContext.
func (*WithVerifyContextMockRecorder) VerifyWithContext ¶
func (mr *WithVerifyContextMockRecorder) VerifyWithContext(arg0, arg1 any) *gomock.Call
VerifyWithContext indicates an expected call of VerifyWithContext.