Documentation ¶
Overview ¶
Package mock_types is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHeaderVerifier ¶
type MockHeaderVerifier struct {
// contains filtered or unexported fields
}
MockHeaderVerifier is a mock of HeaderVerifier interface.
func NewMockHeaderVerifier ¶
func NewMockHeaderVerifier(ctrl *gomock.Controller) *MockHeaderVerifier
NewMockHeaderVerifier creates a new mock instance.
func (*MockHeaderVerifier) EXPECT ¶
func (m *MockHeaderVerifier) EXPECT() *MockHeaderVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHeaderVerifier) UnpackHeader ¶
func (m *MockHeaderVerifier) UnpackHeader(any *types.Any) (exported.ClientMessage, error)
UnpackHeader mocks base method.
func (*MockHeaderVerifier) VerifyHeaders ¶
func (m *MockHeaderVerifier) VerifyHeaders(ctx types0.Context, cleintkeeper keeper.Keeper, clientID string, header, nextHeader exported.ClientMessage) error
VerifyHeaders mocks base method.
type MockHeaderVerifierMockRecorder ¶
type MockHeaderVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockHeaderVerifierMockRecorder is the mock recorder for MockHeaderVerifier.
func (*MockHeaderVerifierMockRecorder) UnpackHeader ¶
func (mr *MockHeaderVerifierMockRecorder) UnpackHeader(any interface{}) *gomock.Call
UnpackHeader indicates an expected call of UnpackHeader.
func (*MockHeaderVerifierMockRecorder) VerifyHeaders ¶
func (mr *MockHeaderVerifierMockRecorder) VerifyHeaders(ctx, cleintkeeper, clientID, header, nextHeader interface{}) *gomock.Call
VerifyHeaders indicates an expected call of VerifyHeaders.
type MockTransactionVerifier ¶
type MockTransactionVerifier struct {
// contains filtered or unexported fields
}
MockTransactionVerifier is a mock of TransactionVerifier interface.
func NewMockTransactionVerifier ¶
func NewMockTransactionVerifier(ctrl *gomock.Controller) *MockTransactionVerifier
NewMockTransactionVerifier creates a new mock instance.
func (*MockTransactionVerifier) EXPECT ¶
func (m *MockTransactionVerifier) EXPECT() *MockTransactionVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransactionVerifier) VerifyTransaction ¶
func (m *MockTransactionVerifier) VerifyTransaction(header, nextHeader *tendermint.Header, tx *types1.TxValue) error
VerifyTransaction mocks base method.
type MockTransactionVerifierMockRecorder ¶
type MockTransactionVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionVerifierMockRecorder is the mock recorder for MockTransactionVerifier.
func (*MockTransactionVerifierMockRecorder) VerifyTransaction ¶
func (mr *MockTransactionVerifierMockRecorder) VerifyTransaction(header, nextHeader, tx interface{}) *gomock.Call
VerifyTransaction indicates an expected call of VerifyTransaction.