Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: internal/core/processor/evolution/client.go
Generated by this command:
mockgen -source=internal/core/processor/evolution/client.go -destination=internal/core/processor/evolution/mock/client.go -package=mock
Package mock is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: internal/core/processor/evolution/processor.go
Generated by this command:
mockgen -source=internal/core/processor/evolution/processor.go -destination=internal/core/processor/evolution/mock/processor.go -package=mock
Package mock is a generated GoMock package.
Index ¶
- type MockHTTPClient
- type MockHTTPClientMockRecorder
- type MockLaosRPCRequests
- type MockLaosRPCRequestsMockRecorder
- type MockProcessor
- func (m *MockProcessor) EXPECT() *MockProcessorMockRecorder
- func (m *MockProcessor) GetInitStartingBlock(ctx context.Context) (uint64, error)
- func (m *MockProcessor) GetLastBlock(ctx context.Context, startingBlock uint64) (uint64, error)
- func (m *MockProcessor) ProcessEvoBlockRange(ctx context.Context, startingBlock, lastBlock uint64) error
- func (m *MockProcessor) VerifyChainConsistency(ctx context.Context, startingBlock uint64) error
- type MockProcessorMockRecorder
- func (mr *MockProcessorMockRecorder) GetInitStartingBlock(ctx any) *gomock.Call
- func (mr *MockProcessorMockRecorder) GetLastBlock(ctx, startingBlock any) *gomock.Call
- func (mr *MockProcessorMockRecorder) ProcessEvoBlockRange(ctx, startingBlock, lastBlock any) *gomock.Call
- func (mr *MockProcessorMockRecorder) VerifyChainConsistency(ctx, startingBlock any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHTTPClient ¶
type MockHTTPClient struct {
// contains filtered or unexported fields
}
MockHTTPClient is a mock of HTTPClient interface.
func NewMockHTTPClient ¶
func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient
NewMockHTTPClient creates a new mock instance.
func (*MockHTTPClient) EXPECT ¶
func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHTTPClientMockRecorder ¶
type MockHTTPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.
type MockLaosRPCRequests ¶
type MockLaosRPCRequests struct {
// contains filtered or unexported fields
}
MockLaosRPCRequests is a mock of LaosRPCRequests interface.
func NewMockLaosRPCRequests ¶
func NewMockLaosRPCRequests(ctrl *gomock.Controller) *MockLaosRPCRequests
NewMockLaosRPCRequests creates a new mock instance.
func (*MockLaosRPCRequests) BlockNumber ¶
func (m *MockLaosRPCRequests) BlockNumber(blockHash string) (*big.Int, error)
BlockNumber mocks base method.
func (*MockLaosRPCRequests) EXPECT ¶
func (m *MockLaosRPCRequests) EXPECT() *MockLaosRPCRequestsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLaosRPCRequests) LatestFinalizedBlockHash ¶
func (m *MockLaosRPCRequests) LatestFinalizedBlockHash() (string, error)
LatestFinalizedBlockHash mocks base method.
type MockLaosRPCRequestsMockRecorder ¶
type MockLaosRPCRequestsMockRecorder struct {
// contains filtered or unexported fields
}
MockLaosRPCRequestsMockRecorder is the mock recorder for MockLaosRPCRequests.
func (*MockLaosRPCRequestsMockRecorder) BlockNumber ¶
func (mr *MockLaosRPCRequestsMockRecorder) BlockNumber(blockHash any) *gomock.Call
BlockNumber indicates an expected call of BlockNumber.
func (*MockLaosRPCRequestsMockRecorder) LatestFinalizedBlockHash ¶
func (mr *MockLaosRPCRequestsMockRecorder) LatestFinalizedBlockHash() *gomock.Call
LatestFinalizedBlockHash indicates an expected call of LatestFinalizedBlockHash.
type MockProcessor ¶
type MockProcessor struct {
// contains filtered or unexported fields
}
MockProcessor is a mock of Processor interface.
func NewMockProcessor ¶
func NewMockProcessor(ctrl *gomock.Controller) *MockProcessor
NewMockProcessor creates a new mock instance.
func (*MockProcessor) EXPECT ¶
func (m *MockProcessor) EXPECT() *MockProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProcessor) GetInitStartingBlock ¶
func (m *MockProcessor) GetInitStartingBlock(ctx context.Context) (uint64, error)
GetInitStartingBlock mocks base method.
func (*MockProcessor) GetLastBlock ¶
GetLastBlock mocks base method.
func (*MockProcessor) ProcessEvoBlockRange ¶
func (m *MockProcessor) ProcessEvoBlockRange(ctx context.Context, startingBlock, lastBlock uint64) error
ProcessEvoBlockRange mocks base method.
func (*MockProcessor) VerifyChainConsistency ¶
func (m *MockProcessor) VerifyChainConsistency(ctx context.Context, startingBlock uint64) error
VerifyChainConsistency mocks base method.
type MockProcessorMockRecorder ¶
type MockProcessorMockRecorder struct {
// contains filtered or unexported fields
}
MockProcessorMockRecorder is the mock recorder for MockProcessor.
func (*MockProcessorMockRecorder) GetInitStartingBlock ¶
func (mr *MockProcessorMockRecorder) GetInitStartingBlock(ctx any) *gomock.Call
GetInitStartingBlock indicates an expected call of GetInitStartingBlock.
func (*MockProcessorMockRecorder) GetLastBlock ¶
func (mr *MockProcessorMockRecorder) GetLastBlock(ctx, startingBlock any) *gomock.Call
GetLastBlock indicates an expected call of GetLastBlock.
func (*MockProcessorMockRecorder) ProcessEvoBlockRange ¶
func (mr *MockProcessorMockRecorder) ProcessEvoBlockRange(ctx, startingBlock, lastBlock any) *gomock.Call
ProcessEvoBlockRange indicates an expected call of ProcessEvoBlockRange.
func (*MockProcessorMockRecorder) VerifyChainConsistency ¶
func (mr *MockProcessorMockRecorder) VerifyChainConsistency(ctx, startingBlock any) *gomock.Call
VerifyChainConsistency indicates an expected call of VerifyChainConsistency.