Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockGasTx
- type MockGasTxMockRecorder
- type MockProposalTxVerifier
- func (m *MockProposalTxVerifier) EXPECT() *MockProposalTxVerifierMockRecorder
- func (m *MockProposalTxVerifier) PrepareProposalVerifyTx(tx types0.Tx) ([]byte, error)
- func (m *MockProposalTxVerifier) ProcessProposalVerifyTx(txBz []byte) (types0.Tx, error)
- func (m *MockProposalTxVerifier) TxDecode(txBz []byte) (types0.Tx, error)
- func (m *MockProposalTxVerifier) TxEncode(tx types0.Tx) ([]byte, error)
- type MockProposalTxVerifierMockRecorder
- func (mr *MockProposalTxVerifierMockRecorder) PrepareProposalVerifyTx(tx interface{}) *gomock.Call
- func (mr *MockProposalTxVerifierMockRecorder) ProcessProposalVerifyTx(txBz interface{}) *gomock.Call
- func (mr *MockProposalTxVerifierMockRecorder) TxDecode(txBz interface{}) *gomock.Call
- func (mr *MockProposalTxVerifierMockRecorder) TxEncode(tx interface{}) *gomock.Call
- type MockTxSelector
- type MockTxSelectorMockRecorder
- type MockValidatorStore
- type MockValidatorStoreMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGasTx ¶
type MockGasTx struct {
// contains filtered or unexported fields
}
MockGasTx is a mock of GasTx interface.
func NewMockGasTx ¶
func NewMockGasTx(ctrl *gomock.Controller) *MockGasTx
NewMockGasTx creates a new mock instance.
func (*MockGasTx) EXPECT ¶
func (m *MockGasTx) EXPECT() *MockGasTxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGasTxMockRecorder ¶
type MockGasTxMockRecorder struct {
// contains filtered or unexported fields
}
MockGasTxMockRecorder is the mock recorder for MockGasTx.
func (*MockGasTxMockRecorder) GetGas ¶
func (mr *MockGasTxMockRecorder) GetGas() *gomock.Call
GetGas indicates an expected call of GetGas.
type MockProposalTxVerifier ¶
type MockProposalTxVerifier struct {
// contains filtered or unexported fields
}
MockProposalTxVerifier is a mock of ProposalTxVerifier interface.
func NewMockProposalTxVerifier ¶
func NewMockProposalTxVerifier(ctrl *gomock.Controller) *MockProposalTxVerifier
NewMockProposalTxVerifier creates a new mock instance.
func (*MockProposalTxVerifier) EXPECT ¶
func (m *MockProposalTxVerifier) EXPECT() *MockProposalTxVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProposalTxVerifier) PrepareProposalVerifyTx ¶
func (m *MockProposalTxVerifier) PrepareProposalVerifyTx(tx types0.Tx) ([]byte, error)
PrepareProposalVerifyTx mocks base method.
func (*MockProposalTxVerifier) ProcessProposalVerifyTx ¶
func (m *MockProposalTxVerifier) ProcessProposalVerifyTx(txBz []byte) (types0.Tx, error)
ProcessProposalVerifyTx mocks base method.
type MockProposalTxVerifierMockRecorder ¶
type MockProposalTxVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockProposalTxVerifierMockRecorder is the mock recorder for MockProposalTxVerifier.
func (*MockProposalTxVerifierMockRecorder) PrepareProposalVerifyTx ¶
func (mr *MockProposalTxVerifierMockRecorder) PrepareProposalVerifyTx(tx interface{}) *gomock.Call
PrepareProposalVerifyTx indicates an expected call of PrepareProposalVerifyTx.
func (*MockProposalTxVerifierMockRecorder) ProcessProposalVerifyTx ¶
func (mr *MockProposalTxVerifierMockRecorder) ProcessProposalVerifyTx(txBz interface{}) *gomock.Call
ProcessProposalVerifyTx indicates an expected call of ProcessProposalVerifyTx.
func (*MockProposalTxVerifierMockRecorder) TxDecode ¶
func (mr *MockProposalTxVerifierMockRecorder) TxDecode(txBz interface{}) *gomock.Call
TxDecode indicates an expected call of TxDecode.
func (*MockProposalTxVerifierMockRecorder) TxEncode ¶
func (mr *MockProposalTxVerifierMockRecorder) TxEncode(tx interface{}) *gomock.Call
TxEncode indicates an expected call of TxEncode.
type MockTxSelector ¶
type MockTxSelector struct {
// contains filtered or unexported fields
}
MockTxSelector is a mock of TxSelector interface.
func NewMockTxSelector ¶
func NewMockTxSelector(ctrl *gomock.Controller) *MockTxSelector
NewMockTxSelector creates a new mock instance.
func (*MockTxSelector) EXPECT ¶
func (m *MockTxSelector) EXPECT() *MockTxSelectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTxSelector) SelectTxForProposal ¶
func (m *MockTxSelector) SelectTxForProposal(ctx context.Context, maxTxBytes, maxBlockGas uint64, memTx types0.Tx, txBz []byte) bool
SelectTxForProposal mocks base method.
func (*MockTxSelector) SelectedTxs ¶
func (m *MockTxSelector) SelectedTxs(ctx context.Context) [][]byte
SelectedTxs mocks base method.
type MockTxSelectorMockRecorder ¶
type MockTxSelectorMockRecorder struct {
// contains filtered or unexported fields
}
MockTxSelectorMockRecorder is the mock recorder for MockTxSelector.
func (*MockTxSelectorMockRecorder) Clear ¶
func (mr *MockTxSelectorMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear.
func (*MockTxSelectorMockRecorder) SelectTxForProposal ¶
func (mr *MockTxSelectorMockRecorder) SelectTxForProposal(ctx, maxTxBytes, maxBlockGas, memTx, txBz interface{}) *gomock.Call
SelectTxForProposal indicates an expected call of SelectTxForProposal.
func (*MockTxSelectorMockRecorder) SelectedTxs ¶
func (mr *MockTxSelectorMockRecorder) SelectedTxs(ctx interface{}) *gomock.Call
SelectedTxs indicates an expected call of SelectedTxs.
type MockValidatorStore ¶
type MockValidatorStore struct {
// contains filtered or unexported fields
}
MockValidatorStore is a mock of ValidatorStore interface.
func NewMockValidatorStore ¶
func NewMockValidatorStore(ctrl *gomock.Controller) *MockValidatorStore
NewMockValidatorStore creates a new mock instance.
func (*MockValidatorStore) EXPECT ¶
func (m *MockValidatorStore) EXPECT() *MockValidatorStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValidatorStore) GetPubKeyByConsAddr ¶
func (m *MockValidatorStore) GetPubKeyByConsAddr(arg0 context.Context, arg1 types0.ConsAddress) (types.PubKey, error)
GetPubKeyByConsAddr mocks base method.
type MockValidatorStoreMockRecorder ¶
type MockValidatorStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorStoreMockRecorder is the mock recorder for MockValidatorStore.
func (*MockValidatorStoreMockRecorder) GetPubKeyByConsAddr ¶
func (mr *MockValidatorStoreMockRecorder) GetPubKeyByConsAddr(arg0, arg1 interface{}) *gomock.Call
GetPubKeyByConsAddr indicates an expected call of GetPubKeyByConsAddr.