mock

package
v3.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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.

func (*MockGasTx) GetGas

func (m *MockGasTx) GetGas() uint64

GetGas mocks base method.

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

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.

func (*MockProposalTxVerifier) TxDecode

func (m *MockProposalTxVerifier) TxDecode(txBz []byte) (types0.Tx, error)

TxDecode mocks base method.

func (*MockProposalTxVerifier) TxEncode

func (m *MockProposalTxVerifier) TxEncode(tx types0.Tx) ([]byte, error)

TxEncode 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) Clear

func (m *MockTxSelector) Clear()

Clear mocks base method.

func (*MockTxSelector) EXPECT

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

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.

Jump to

Keyboard shortcuts

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